Przeglądaj źródła

Fix variable name

lenar 14 lat temu
rodzic
commit
8d68d4cef4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/Monolog/Handler/ForwardHandler.php

+ 1 - 1
src/Monolog/Handler/ForwardHandler.php

@@ -71,7 +71,7 @@ class ForwardHandler extends AbstractHandler
     {
         foreach ($this->handlers as &$handler) {
             if (!$handler instanceof HandlerInterface) {
-                $handler = call_user_func($this->handler, $record, $this);
+                $handler = call_user_func($handler, $record, $this);
                 if (!$handler instanceof HandlerInterface) {
                     throw new \RuntimeException("The factory callback should return a HandlerInterface");
                 }