Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdc3a94e

Browse files
authored
use interface_exists instead of class_exists
1 parent9918a66 commitdc3a94e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Symfony/Bundle/WebServerBundle/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
returnfalse;
4242
}
4343

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp