|
@@ -68,12 +68,12 @@ class RollbarHandlerTest extends TestCase
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- private function createHandler(): RollbarHandler
|
|
|
|
|
|
|
+ private function createHandler()
|
|
|
{
|
|
{
|
|
|
return new RollbarHandler($this->rollbarNotifier, Logger::DEBUG);
|
|
return new RollbarHandler($this->rollbarNotifier, Logger::DEBUG);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- private function createExceptionRecord($level = Logger::DEBUG, $message = 'test', $exception = null): array
|
|
|
|
|
|
|
+ private function createExceptionRecord($level = Logger::DEBUG, $message = 'test', $exception = null)
|
|
|
{
|
|
{
|
|
|
return $this->getRecord($level, $message, array(
|
|
return $this->getRecord($level, $message, array(
|
|
|
'exception' => $exception ?: new Exception()
|
|
'exception' => $exception ?: new Exception()
|