It seems like orWhere() 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
19
$query->/** @scrutinizer ignore-call */
20
orWhere('model_key', '=', $key);
Loading history...
20
}
21
});
22
23
return $this;
24
}
25
26
/**
27
* Scope query to activity on a specific model key.
28
*
29
* @param mixed $model_table
30
*
31
* @return $this
32
*/
33
public function whereModelTable($model_table)
34
{
35
$model_table = (array) $model_table;
36
$this->where(function (self $query) use ($model_table) {
It seems like orWhereLike() 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