mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 05:07:36 +02:00
Fix 5.3 support
This commit is contained in:
@@ -75,8 +75,8 @@ class RollbarHandlerTest extends TestCase
|
|||||||
|
|
||||||
private function createExceptionRecord($level = Logger::DEBUG, $message = 'test', $exception = null): array
|
private function createExceptionRecord($level = Logger::DEBUG, $message = 'test', $exception = null): array
|
||||||
{
|
{
|
||||||
return $this->getRecord($level, $message, [
|
return $this->getRecord($level, $message, array(
|
||||||
'exception' => $exception ?? new Exception()
|
'exception' => $exception ?: new Exception()
|
||||||
]);
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user