| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | protected static function applyFilters(NovaRequest $request, $query, array $filters) |
||
| 25 | { |
||
| 26 | $query = parent::applyFilters($request, $query, $filters); |
||
| 27 | if($model = head($request->__memoized)){ |
||
| 28 | $guard_name = $model->guard_name ?? self::getGuardForModel(get_class($model)); |
||
| 29 | $query->where('guard_name', $guard_name); |
||
| 30 | } |
||
| 31 | |||
| 32 | return $query; |
||
| 33 | } |
||
| 47 | } |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths