We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4c5946 commit b435622Copy full SHA for b435622
src/OptimizerChainFactory.php
@@ -30,7 +30,7 @@ protected static function getLogger($config): LoggerInterface
30
return new DummyLogger();
31
}
32
33
- if (! $configuredLogger instanceof LoggerInterface) {
+ if (! is_a($configuredLogger, LoggerInterface::class, true)) {
34
throw InvalidConfiguration::notAnLogger($configuredLogger);
35
36
0 commit comments