Skip to content

Commit

Permalink
use interface_exists instead of class_exists
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed Jan 3, 2018
1 parent 9918a66 commit dc3a94e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -37,7 +37,7 @@ public function isEnabled()
}

// 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;
}

Expand Down

0 comments on commit dc3a94e

Please sign in to comment.