mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-04 20:27:31 +02:00
Remove return annotations
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user