1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-04 12:17:35 +02:00

Merge branch '1.x'

This commit is contained in:
Jordi Boggiano
2017-03-20 10:11:48 +01:00

View File

@@ -76,7 +76,7 @@ class RollbarHandlerTest extends TestCase
private function createExceptionRecord($level = Logger::DEBUG, $message = 'test', $exception = null): array
{
return $this->getRecord($level, $message, [
'exception' => $exception ?? new Exception()
'exception' => $exception ?: new Exception()
]);
}
}