1
0
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:
Mponos George
2020-07-08 23:02:57 +03:00
parent 53e2c97b0b
commit a54cd1f178
8 changed files with 10 additions and 10 deletions

View File

@@ -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);
}
}