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