We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | trait CrudTrait |
||
| 8 | { |
||
| 9 | use HasIdentifiableAttribute; |
||
| 10 | use HasEnumFields; |
||
| 11 | use HasRelationshipFields; |
||
| 12 | use HasUploadFields; |
||
| 13 | use HasFakeFields; |
||
| 14 | use HasTranslatableFields; |
||
| 15 | |||
| 16 | public static function hasCrudTrait() |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return string |
||
| 23 | */ |
||
| 24 | public static function getTableName(): string |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param $query |
||
| 31 | * @return mixed |
||
| 32 | */ |
||
| 33 | public static function scopeWithTrashedFiltered($query) |
||
| 41 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.