Browse Source

简化 Show 功能用法

jqh 5 years ago
parent
commit
6ec0515f11
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/Show.php

+ 0 - 2
src/Show.php

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