From fb751dff333882c7533d786308fb3149a1b4ec98 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 20 Mar 2017 10:18:43 +0100 Subject: [PATCH] Remove return annotations --- tests/Monolog/Handler/RollbarHandlerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Monolog/Handler/RollbarHandlerTest.php b/tests/Monolog/Handler/RollbarHandlerTest.php index 4bd43776..30c05bb4 100644 --- a/tests/Monolog/Handler/RollbarHandlerTest.php +++ b/tests/Monolog/Handler/RollbarHandlerTest.php @@ -68,12 +68,12 @@ class RollbarHandlerTest extends TestCase }); } - private function createHandler(): RollbarHandler + private function createHandler() { 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( 'exception' => $exception ?: new Exception()