mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 21:26:43 +02:00
Merge pull request #174 from entering/unused-variable-foreach
At isHandling remove unused variable on foreach
This commit is contained in:
@@ -356,7 +356,7 @@ class Logger implements LoggerInterface
|
|||||||
'level' => $level,
|
'level' => $level,
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach ($this->handlers as $key => $handler) {
|
foreach ($this->handlers as $handler) {
|
||||||
if ($handler->isHandling($record)) {
|
if ($handler->isHandling($record)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user