Skip to content

Commit e0d8ce4

Browse files
damnerfabpot
authored andcommitted
Fix LogLevel::DEBUG as min level
1 parent 3c3d642 commit e0d8ce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Log/Logger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Logger extends AbstractLogger
3939

4040
public function __construct($minLevel = null, $output = 'php://stderr', callable $formatter = null)
4141
{
42-
if (!$minLevel) {
42+
if (null === $minLevel) {
4343
$minLevel = LogLevel::WARNING;
4444

4545
if (isset($_SERVER['SHELL_VERBOSITY'])) {

0 commit comments

Comments
 (0)