1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-08 14:16:42 +02:00

More interface updates

This commit is contained in:
Jordi Boggiano
2016-11-27 11:28:44 +01:00
parent b154c5fd26
commit 24ad4b02b6
2 changed files with 2 additions and 2 deletions

View File

@@ -192,7 +192,7 @@ class SlackHandler extends SocketHandler
return $this; return $this;
} }
public function getFormatter() public function getFormatter(): FormatterInterface
{ {
$formatter = parent::getFormatter(); $formatter = parent::getFormatter();
$this->slackRecord->setFormatter($formatter); $this->slackRecord->setFormatter($formatter);

View File

@@ -98,7 +98,7 @@ class SlackWebhookHandler extends AbstractProcessingHandler
return $this; return $this;
} }
public function getFormatter() public function getFormatter(): FormatterInterface
{ {
$formatter = parent::getFormatter(); $formatter = parent::getFormatter();
$this->slackRecord->setFormatter($formatter); $this->slackRecord->setFormatter($formatter);