Update return type for routing mail notifications

This commit is contained in:
Marcus Moore 2023-02-01 11:44:56 -08:00
parent 3580bdae86
commit a45ce468cc
No known key found for this signature in database

View file

@ -16,8 +16,12 @@ class CheckoutAcceptance extends Model
'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.
// In the future this may want to be adapted for individual notifications.