diff --git a/src/Monolog/Handler/SlackWebhookHandler.php b/src/Monolog/Handler/SlackWebhookHandler.php index f4c9f780..a2df0f1a 100644 --- a/src/Monolog/Handler/SlackWebhookHandler.php +++ b/src/Monolog/Handler/SlackWebhookHandler.php @@ -46,17 +46,8 @@ class SlackWebhookHandler extends AbstractProcessingHandler * @param int $level The minimum logging level at which this handler will be triggered * @param bool $bubble Whether the messages that are handled can bubble up the stack or not */ - public function __construct( - $webhookUrl, - $channel = null, - $username = 'Monolog', - $useAttachment = true, - $iconEmoji = null, - $useShortAttachment = false, - $includeContextAndExtra = false, - $level = Logger::CRITICAL, - $bubble = true - ) { + public function __construct($webhookUrl, $channel = null, $username = 'Monolog', $useAttachment = true, $iconEmoji = null, $useShortAttachment = false, $includeContextAndExtra = false, $level = Logger::CRITICAL, $bubble = true) + { parent::__construct($level, $bubble); $this->webhookUrl = $webhookUrl; diff --git a/src/Monolog/Handler/SlackbotHandler.php b/src/Monolog/Handler/SlackbotHandler.php index de6051bc..baead525 100644 --- a/src/Monolog/Handler/SlackbotHandler.php +++ b/src/Monolog/Handler/SlackbotHandler.php @@ -46,13 +46,8 @@ class SlackbotHandler extends AbstractProcessingHandler * @param int $level The minimum logging level at which this handler will be triggered * @param bool $bubble Whether the messages that are handled can bubble up the stack or not */ - public function __construct( - $slackTeam, - $token, - $channel, - $level = Logger::CRITICAL, - $bubble = true - ) { + public function __construct($slackTeam, $token, $channel, $level = Logger::CRITICAL, $bubble = true) + { parent::__construct($level, $bubble); $this->slackTeam = $slackTeam;