mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-21 08:36:33 +02:00
Fix variable name
This commit is contained in:
@@ -71,7 +71,7 @@ class ForwardHandler extends AbstractHandler
|
|||||||
{
|
{
|
||||||
foreach ($this->handlers as &$handler) {
|
foreach ($this->handlers as &$handler) {
|
||||||
if (!$handler instanceof HandlerInterface) {
|
if (!$handler instanceof HandlerInterface) {
|
||||||
$handler = call_user_func($this->handler, $record, $this);
|
$handler = call_user_func($handler, $record, $this);
|
||||||
if (!$handler instanceof HandlerInterface) {
|
if (!$handler instanceof HandlerInterface) {
|
||||||
throw new \RuntimeException("The factory callback should return a HandlerInterface");
|
throw new \RuntimeException("The factory callback should return a HandlerInterface");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user