mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-23 09:36:11 +02:00
Replace call_user_func
This commit is contained in:
@@ -312,7 +312,7 @@ class Logger implements LoggerInterface, ResettableInterface
|
||||
|
||||
try {
|
||||
foreach ($this->processors as $processor) {
|
||||
$record = call_user_func($processor, $record);
|
||||
$record = $processor($record);
|
||||
}
|
||||
|
||||
// advance the array pointer to the first handler that will handle this record
|
||||
@@ -610,6 +610,6 @@ class Logger implements LoggerInterface, ResettableInterface
|
||||
throw $e;
|
||||
}
|
||||
|
||||
call_user_func($this->exceptionHandler, $e, $record);
|
||||
($this->exceptionHandler)($e, $record);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user