Update return type for routing mail notifications
This commit is contained in:
parent
3580bdae86
commit
a45ce468cc
1 changed files with 6 additions and 2 deletions
|
@ -16,8 +16,12 @@ class CheckoutAcceptance extends Model
|
||||||
'declined_at' => 'datetime',
|
'declined_at' => 'datetime',
|
||||||
];
|
];
|
||||||
|
|
||||||
// Get the mail recipient from the config
|
/**
|
||||||
public function routeNotificationForMail(): string
|
* Get the mail recipient from the config
|
||||||
|
*
|
||||||
|
* @return mixed|string|null
|
||||||
|
*/
|
||||||
|
public function routeNotificationForMail()
|
||||||
{
|
{
|
||||||
// At this point the endpoint is the same for everything.
|
// At this point the endpoint is the same for everything.
|
||||||
// In the future this may want to be adapted for individual notifications.
|
// In the future this may want to be adapted for individual notifications.
|
||||||
|
|
Loading…
Add table
Reference in a new issue