use interface_exists instead of class_exists

This commit is contained in:
Kevin Bond 2018-01-03 11:18:08 -05:00 committed by GitHub
parent 9918a66309
commit dc3a94e83a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ class ServerLogCommand extends Command
}
// 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;
}