diff options
author | Jordi Boggiano <j.boggiano@seld.be> | 2017-03-20 10:11:48 +0100 |
---|---|---|
committer | Jordi Boggiano <j.boggiano@seld.be> | 2017-03-20 10:11:48 +0100 |
commit | b9256e99b6c2634b75c9cbfe2c192f590ee5a33f (patch) | |
tree | 4cd5160d0b2e5bc042d6774c598028c604bd4872 | |
parent | 4f5f6abd773045463c5d796f283fb4b3ab2c3774 (diff) | |
parent | 3b1f98df2aa2ed6b71caba7d2087359dbb8325d1 (diff) | |
download | monolog-b9256e99b6c2634b75c9cbfe2c192f590ee5a33f.zip monolog-b9256e99b6c2634b75c9cbfe2c192f590ee5a33f.tar.gz monolog-b9256e99b6c2634b75c9cbfe2c192f590ee5a33f.tar.bz2 |
Merge branch '1.x'
-rw-r--r-- | tests/Monolog/Handler/RollbarHandlerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Monolog/Handler/RollbarHandlerTest.php b/tests/Monolog/Handler/RollbarHandlerTest.php index e691b1e..a2465f5 100644 --- a/tests/Monolog/Handler/RollbarHandlerTest.php +++ b/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() ]); } } |