mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 20:57:36 +02:00
Changed the "rewind loop condition" operand
The `$handlerKey` might be a slightly more readable choice here
This commit is contained in:
@@ -309,7 +309,7 @@ class Logger implements LoggerInterface
|
||||
}
|
||||
|
||||
reset($this->handlers);
|
||||
while ($key !== key($this->handlers)) {
|
||||
while ($handlerKey !== key($this->handlers)) {
|
||||
next($this->handlers);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user