mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-16 10:04:14 +02:00
Minor fixes to merged commit
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user