1
0
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:
Jordi Boggiano
2017-03-20 10:07:14 +01:00
parent 81e8bf6189
commit 3b1f98df2a

View File

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