mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-23 09:36:11 +02:00
Add some return type hints and fix up HandlerWrapper
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
namespace Monolog\Handler;
|
||||
|
||||
use Monolog\Logger;
|
||||
use Monolog\Formatter\FormatterInterface;
|
||||
use Monolog\Formatter\LogglyFormatter;
|
||||
|
||||
/**
|
||||
@@ -95,7 +96,7 @@ class LogglyHandler extends AbstractProcessingHandler
|
||||
Curl\Util::execute($ch);
|
||||
}
|
||||
|
||||
protected function getDefaultFormatter()
|
||||
protected function getDefaultFormatter(): FormatterInterface
|
||||
{
|
||||
return new LogglyFormatter();
|
||||
}
|
||||
|
Reference in New Issue
Block a user