8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96960d4 commit f6d8eaeCopy full SHA for f6d8eae
notifier.rst
@@ -477,7 +477,7 @@ Customize Notifications
477
You can extend the ``Notification`` or ``Recipient`` base classes to
478
customize their behavior. For instance, you can overwrite the
479
``getChannels()`` method to only return ``sms`` if the invoice price is
480
-very high and the recipient has a phonenumber::
+very high and the recipient has a phone number::
481
482
namespace App\Notifier;
483
@@ -500,10 +500,10 @@ very high and the recipient has a phonenumber::
500
&& $recipient instanceof AdminRecipient
501
&& null !== $recipient->getPhone()
502
) {
503
- return ['sms', 'email'];
+ return ['sms'];
504
}
505
506
- return 'email';
+ return ['email'];
507
508
509
0 commit comments