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:
@@ -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);
|
||||||
|
@@ -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);
|
||||||
|
Reference in New Issue
Block a user