diff --git a/src/Monolog/Handler/NativeMailerHandler.php b/src/Monolog/Handler/NativeMailerHandler.php index ed5ac260..164c2d72 100644 --- a/src/Monolog/Handler/NativeMailerHandler.php +++ b/src/Monolog/Handler/NativeMailerHandler.php @@ -23,7 +23,7 @@ class NativeMailerHandler extends MailHandler protected $to; protected $subject; protected $headers = array( - "Content-type: text-plain; charset=utf-8" + 'Content-type: text-plain; charset=utf-8' ); /** @@ -31,18 +31,18 @@ class NativeMailerHandler extends MailHandler * @param string $subject The subject of the mail * @param string $from The sender of the mail * @param integer $level The minimum logging level at which this handler will be triggered - * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + * @param boolean $bubble Whether the messages that are handled can bubble up the stack or not */ public function __construct($to, $subject, $from, $level = Logger::ERROR, $bubble = true) { parent::__construct($level, $bubble); $this->to = is_array($to) ? $to : array($to); $this->subject = $subject; - $this->headers[] = sprintf("From: %s", $from); + $this->headers[] = sprintf('From: %s', $from); } /** - * @param string|array $header + * @param string|array $header Custom added headers */ public function addHeader($headers) {