This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
Loading history...
21
22
109
if (config('app.debug') && ! app()->environment('production')) {
The method environment() does not exist on Illuminate\Container\Container. Are you sure you never get this type here, but always one of the subclasses?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
22
if (config('app.debug') && ! app()->/** @scrutinizer ignore-call */ environment('production')) {
This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
Loading history...
25
}
26
27
109
return Situations::call($method, $args);
28
}
29
30
2
public function checkPoint(string $pointName)
31
{
32
2
event('heyman_checkpoint_'.$pointName);
33
1
}
34
35
2
public function aliasCondition(string $currentName, string $newName)
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.