8000 De-yoda conditional · symfony/symfony@5510bba · GitHub
[go: up one dir, main page]

Skip to content

Commit 5510bba

Browse files
committed
De-yoda conditional
1 parent b890596 commit 5510bba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ protected function getExceptionLogLevel(\Exception $exception): string
9292
$statusCode = $exception->getStatusCode();
9393
if (isset($this->httpStatusCodeLogLevel[$statusCode])) {
9494
$logLevel = $this->httpStatusCodeLogLevel[$statusCode];
95-
} elseif (400 <= $statusCode && $statusCode < 500) {
95+
} elseif ($statusCode >= 400 && $statusCode < 500) {
9696
$logLevel = LogLevel::WARNING;
9797
}
9898
}

0 commit comments

Comments
 (0)
0