mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 05:07:36 +02:00
More interface updates
This commit is contained in:
@@ -192,7 +192,7 @@ class SlackHandler extends SocketHandler
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getFormatter()
|
||||
public function getFormatter(): FormatterInterface
|
||||
{
|
||||
$formatter = parent::getFormatter();
|
||||
$this->slackRecord->setFormatter($formatter);
|
||||
|
@@ -98,7 +98,7 @@ class SlackWebhookHandler extends AbstractProcessingHandler
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getFormatter()
|
||||
public function getFormatter(): FormatterInterface
|
||||
{
|
||||
$formatter = parent::getFormatter();
|
||||
$this->slackRecord->setFormatter($formatter);
|
||||
|
Reference in New Issue
Block a user