1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-23 01:26:11 +02:00

Prepare changelog

This commit is contained in:
Jordi Boggiano
2019-11-13 11:27:43 +01:00
parent e5309196ce
commit f9d56fd2f5
3 changed files with 24 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ use Monolog\Formatter\FormatterInterface;
*
* @author Christophe Coevoet <stof@notk.org>
*/
class BufferHandler extends AbstractHandler implements ProcessableHandlerInterface
class BufferHandler extends AbstractHandler implements ProcessableHandlerInterface, FormattableHandlerInterface
{
use ProcessableHandlerTrait;
@@ -135,7 +135,7 @@ class BufferHandler extends AbstractHandler implements ProcessableHandlerInterfa
/**
* {@inheritdoc}
*/
public function setFormatter(FormatterInterface $formatter)
public function setFormatter(FormatterInterface $formatter): HandlerInterface
{
$this->handler->setFormatter($formatter);
@@ -145,7 +145,7 @@ class BufferHandler extends AbstractHandler implements ProcessableHandlerInterfa
/**
* {@inheritdoc}
*/
public function getFormatter()
public function getFormatter(): FormatterInterface
{
return $this->handler->getFormatter();
}