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...
39
40
if (!($profiler instanceof ProfilerInterface)) {
41
throw new RuntimeException(sprintf(
42
'The "%s" is not an instance of the "Psr\Log\LoggerInterface".',
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.