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