mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 13:16:39 +02:00
Interface updates
This commit is contained in:
@@ -184,7 +184,7 @@ class SlackHandler extends SocketHandler
|
|||||||
return $this->slackRecord->stringify($fields);
|
return $this->slackRecord->stringify($fields);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setFormatter(FormatterInterface $formatter)
|
public function setFormatter(FormatterInterface $formatter): HandlerInterface
|
||||||
{
|
{
|
||||||
parent::setFormatter($formatter);
|
parent::setFormatter($formatter);
|
||||||
$this->slackRecord->setFormatter($formatter);
|
$this->slackRecord->setFormatter($formatter);
|
||||||
|
@@ -90,7 +90,7 @@ class SlackWebhookHandler extends AbstractProcessingHandler
|
|||||||
Curl\Util::execute($ch);
|
Curl\Util::execute($ch);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setFormatter(FormatterInterface $formatter)
|
public function setFormatter(FormatterInterface $formatter): HandlerInterface
|
||||||
{
|
{
|
||||||
parent::setFormatter($formatter);
|
parent::setFormatter($formatter);
|
||||||
$this->slackRecord->setFormatter($formatter);
|
$this->slackRecord->setFormatter($formatter);
|
||||||
|
Reference in New Issue
Block a user