From e20fd0cc08a7cd87d82f15d8f835c567f78e8de1 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 5 Apr 2011 10:42:22 +0200 Subject: [PATCH] Minor fixes to merged commit --- src/Monolog/Handler/FingersCrossedHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Monolog/Handler/FingersCrossedHandler.php b/src/Monolog/Handler/FingersCrossedHandler.php index 6e82cb89..93d05d02 100644 --- a/src/Monolog/Handler/FingersCrossedHandler.php +++ b/src/Monolog/Handler/FingersCrossedHandler.php @@ -63,10 +63,10 @@ class FingersCrossedHandler extends AbstractHandler if ($record['level'] >= $this->actionLevel) { $this->buffering = false; if (!$this->handler instanceof HandlerInterface) { - $this->handler = call_user_func_array($this->handler, array($record, $this)); + $this->handler = call_user_func($this->handler, $record, $this); } if (!$this->handler instanceof HandlerInterface) { - throw new \RuntimeException("The factory callback should return an HandlerInterface"); + throw new \RuntimeException("The factory callback should return a HandlerInterface"); } foreach ($this->buffer as $record) { $this->handler->handle($record);