It seems like matchRequest() 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
22
/** @scrutinizer ignore-call */
23
$return = $this->matchRequest($request);
Loading history...
23
if ($return['_route']) {
24
$this->populateRequest($request, $return);
25
}
26
return $return;
27
}
28
29
/**
30
* @param Request $request
31
* @param $params
32
*/
33
protected function populateRequest($request, $params)