Skip to content
This repository was archived by the owner on Dec 9, 2023. It is now read-only.

Commit 2a200a6

Browse files
authored
use interface_exists instead of class_exists
1 parent 58e6070 commit 2a200a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Command/ServerLogCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function isEnabled()
3737
}
3838

3939
// based on a symfony/symfony package, it crashes due a missing FormatterInterface from monolog/monolog
40-
if (!class_exists(FormatterInterface::class)) {
40+
if (!interface_exists(FormatterInterface::class)) {
4141
return false;
4242
}
4343

0 commit comments

Comments
 (0)