Explorar el Código

简化 Show 功能用法

jqh hace 5 años
padre
commit
6ec0515f11
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  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);