@@ -47,8 +47,7 @@ |
||
| 47 | 47 | if (is_string($crudable)) |
| 48 | 48 | { |
| 49 | 49 | return new CrudEntry(new $crudable); |
| 50 | - } |
|
| 51 | - else if (is_object($crudable) && array_key_exists(Crudable::class, class_uses($crudable))) |
|
| 50 | + } else if (is_object($crudable) && array_key_exists(Crudable::class, class_uses($crudable))) |
|
| 52 | 51 | { |
| 53 | 52 | return new CrudEntry($crudable); |
| 54 | 53 | } |