mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 20:57: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
|
||||
{
|
||||
return $this->getRecord($level, $message, [
|
||||
'exception' => $exception ?? new Exception()
|
||||
]);
|
||||
return $this->getRecord($level, $message, array(
|
||||
'exception' => $exception ?: new Exception()
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user