It seems like getAllRoutesTrace() 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
37
throw (new \Exception('The processor was not found for the route ' . $route . ' in ' . $this->/** @scrutinizer ignore-call */ getAllRoutesTrace(), -1));
Loading history...
38
}
39
40
/**
41
* Method sets InvalidRouteErrorHandler function
42
*
43
* @param callable $function
44
* error handler
45
*
46
* @return ?callable old error handler
47
*/
48
public function setNoProcessorFoundErrorHandler(callable $function): ?callable