Fix array offset access on null/boolean and with curly braces [MAILPOET-2577]

This commit is contained in:
wxa
2020-01-23 01:36:35 +03:00
committed by Jack Kitterhing
parent 12c71511e4
commit 3584b717dc
7 changed files with 30 additions and 25 deletions

View File

@@ -128,7 +128,7 @@ class ConfirmationEmailMailerTest extends \MailPoetTest {
$mailer = Stub::makeEmpty(Mailer::class, [
'send' => function() {
return true;
return ['response' => true];
},
], $this);
$sender = new ConfirmationEmailMailer(
@@ -156,7 +156,7 @@ class ConfirmationEmailMailerTest extends \MailPoetTest {
$mailer = Stub::makeEmpty(Mailer::class, [
'send' => function() {
return true;
return ['response' => true];
},
], $this);
$sender = new ConfirmationEmailMailer(