Parcourir la source

简化 Show 功能用法

jqh il y a 5 ans
Parent
commit
6ec0515f11
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      src/Show.php

+ 0 - 2
src/Show.php

@@ -97,8 +97,6 @@ class Show implements Renderable
     {
         switch (func_num_args()) {
             case 1:
-                $model = $id;
-                break;
             case 2:
                 if (is_scalar($id)) {
                     $this->key($id);