Skip to content

Commit b9256e9

Browse files
committed
Merge branch '1.x'
2 parents 4f5f6ab + 3b1f98d commit b9256e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Monolog/Handler/RollbarHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ private function createHandler(): RollbarHandler
7676
private function createExceptionRecord($level = Logger::DEBUG, $message = 'test', $exception = null): array
7777
{
7878
return $this->getRecord($level, $message, [
79-
'exception' => $exception ?? new Exception()
79+
'exception' => $exception ?: new Exception()
8080
]);
8181
}
8282
}

0 commit comments

Comments
 (0)