1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-21 16:46:11 +02:00

Format constructors on a single line

This is for consistency with the rest of the handlers.
This commit is contained in:
Haralan Dobrev
2016-11-19 13:13:39 +02:00
parent 506e1b99e4
commit 8b2b13546e
2 changed files with 4 additions and 18 deletions

View File

@@ -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;