Browse Source

简化 Show 功能用法

jqh 5 năm trước cách đây
mục cha
commit
6ec0515f11
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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);