1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 05:07:36 +02:00

Fixed incompatible interfaces with MailHandler

This commit is contained in:
Ondrej Mirtes
2016-07-19 00:33:15 +02:00
parent f16e67d523
commit 26d7d29d27
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ class MandrillHandler extends MailHandler
/**
* {@inheritdoc}
*/
protected function send($content, array $records)
protected function send(string $content, array $records)
{
$mime = null;
if ($this->isHtmlBody($content)) {

View File

@@ -72,7 +72,7 @@ class SendGridHandler extends MailHandler
/**
* {@inheritdoc}
*/
protected function send($content, array $records)
protected function send(string $content, array $records)
{
$message = [];
$message['api_user'] = $this->apiUser;