Fix $level type

This commit is contained in:
Jordi Boggiano 2020-04-03 15:33:33 +02:00 committed by GitHub
parent 0bec08f0d8
commit c2a1781eb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,8 +30,9 @@ class MailerHandler extends AbstractProcessingHandler
/**
* @param callable|Email $messageTemplate
* @param string|int $level The minimum logging level at which this handler will be triggered
*/
public function __construct(MailerInterface $mailer, $messageTemplate, int $level = Logger::DEBUG, bool $bubble = true)
public function __construct(MailerInterface $mailer, $messageTemplate, $level = Logger::DEBUG, bool $bubble = true)
{
parent::__construct($level, $bubble);