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