| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | |||
| 23 | public function scopeWithSchemalessAttributes(): Builder |
||
| 24 | { |
||
| 25 | $arguments = func_get_args(); |
||
| 26 | |||
| 27 | if (count($arguments) === 1) { |
||
| 28 | [$builder] = $arguments; |
||
| 29 | $schemalessAttributes = []; |
||
| 30 | } |
||
| 31 | |||
| 32 | if (count($arguments) === 2) { |
||
| 33 | [$builder, $schemalessAttributes] = $arguments; |
||
| 34 | } |
||
| 48 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.