summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordi Boggiano <j.boggiano@seld.be>2017-03-20 10:11:48 +0100
committerJordi Boggiano <j.boggiano@seld.be>2017-03-20 10:11:48 +0100
commitb9256e99b6c2634b75c9cbfe2c192f590ee5a33f (patch)
tree4cd5160d0b2e5bc042d6774c598028c604bd4872
parent4f5f6abd773045463c5d796f283fb4b3ab2c3774 (diff)
parent3b1f98df2aa2ed6b71caba7d2087359dbb8325d1 (diff)
downloadmonolog-b9256e99b6c2634b75c9cbfe2c192f590ee5a33f.zip
monolog-b9256e99b6c2634b75c9cbfe2c192f590ee5a33f.tar.gz
monolog-b9256e99b6c2634b75c9cbfe2c192f590ee5a33f.tar.bz2
Merge branch '1.x'
-rw-r--r--tests/Monolog/Handler/RollbarHandlerTest.php2
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()
]);
}
}