mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-23 09:36:11 +02:00
Remove unnecessary condition
This commit is contained in:
@@ -319,7 +319,6 @@ class Logger implements LoggerInterface, ResettableInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
// once the record exist, send it to all handlers as long as the bubbling chain is not interrupted
|
// once the record exist, send it to all handlers as long as the bubbling chain is not interrupted
|
||||||
if (null !== $record) {
|
|
||||||
try {
|
try {
|
||||||
if (true === $handler->handle($record)) {
|
if (true === $handler->handle($record)) {
|
||||||
break;
|
break;
|
||||||
@@ -330,7 +329,6 @@ class Logger implements LoggerInterface, ResettableInterface
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return null !== $record;
|
return null !== $record;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user