1
0
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:
Ivan Kurnosov
2017-03-13 09:06:46 +13:00
parent 9e43ef06d8
commit c411ad174c

View File

@@ -309,7 +309,7 @@ class Logger implements LoggerInterface
}
reset($this->handlers);
while ($key !== key($this->handlers)) {
while ($handlerKey !== key($this->handlers)) {
next($this->handlers);
}