use interface_exists instead of class_exists
This commit is contained in:
parent
9918a66309
commit
dc3a94e83a
@ -37,7 +37,7 @@ class ServerLogCommand extends Command
|
|||||||
}
|
}
|
||||||
|
|
||||||
// based on a symfony/symfony package, it crashes due a missing FormatterInterface from monolog/monolog
|
// based on a symfony/symfony package, it crashes due a missing FormatterInterface from monolog/monolog
|
||||||
if (!class_exists(FormatterInterface::class)) {
|
if (!interface_exists(FormatterInterface::class)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user