summaryrefslogtreecommitdiffstats
path: root/src/Monolog/Handler/NativeMailerHandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Monolog/Handler/NativeMailerHandler.php')
-rw-r--r--src/Monolog/Handler/NativeMailerHandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Monolog/Handler/NativeMailerHandler.php b/src/Monolog/Handler/NativeMailerHandler.php
index 4289e35..b597761 100644
--- a/src/Monolog/Handler/NativeMailerHandler.php
+++ b/src/Monolog/Handler/NativeMailerHandler.php
@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
/*
* This file is part of the Monolog package.
@@ -115,7 +115,7 @@ class NativeMailerHandler extends MailHandler
/**
* {@inheritdoc}
*/
- protected function send($content, array $records)
+ protected function send(string $content, array $records)
{
$contentType = $this->getContentType() ?: ($this->isHtmlBody($content) ? 'text/html' : 'text/plain');