We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 2 |
| Total Lines | 25 |
| 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 | * Get a new query builder instance for the connection. |
||
| 23 | * |
||
| 24 | * @return \Illuminate\Database\Query\Builder |
||
| 25 | */ |
||
| 26 | protected function newBaseQueryBuilder() |
||
| 35 |
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.