mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 13:16:39 +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);
|
reset($this->handlers);
|
||||||
while ($key !== key($this->handlers)) {
|
while ($handlerKey !== key($this->handlers)) {
|
||||||
next($this->handlers);
|
next($this->handlers);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user