فهرست منبع

Merge branch '1.x'

Jordi Boggiano 8 سال پیش
والد
کامیت
b9256e99b6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      tests/Monolog/Handler/RollbarHandlerTest.php

+ 1 - 1
tests/Monolog/Handler/RollbarHandlerTest.php

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