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.
2 parents c4c5946 + b435622 commit 87621b3Copy full SHA for 87621b3
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