Fix array offset access on null/boolean and with curly braces [MAILPOET-2577]
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user