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
21
$query->/** @scrutinizer ignore-call */
22
orWhere('trackable_id', '=', $key);
Loading history...
22
}
23
});
24
25
return $this;
26
}
27
28
/**
29
* Scope query to activity on a specific trackable type.
30
*
31
* @param mixed $trackable_type
32
*
33
* @return $this
34
*/
35
public function whereTrackableType($trackable_type): self
36
{
37
$trackable_type = (array) $trackable_type;
38
$this->where(function (self $query) use ($trackable_type) {
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