mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 05:07:36 +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,
|
||||
);
|
||||
|
||||
foreach ($this->handlers as $key => $handler) {
|
||||
foreach ($this->handlers as $handler) {
|
||||
if ($handler->isHandling($record)) {
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user