It seems like formatFilters() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
21
$this->/** @scrutinizer ignore-call */
22
formatFilters($filters)
Loading history...
22
2
->each(
23
2
function (Filter $filter) use ($query): void {
24
2
$query->orWhere(function ($query) use ($filter): void {
It seems like isRequestedFilter() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
It seems like getFilterValue() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation