mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
Update return type for routing mail notifications
This commit is contained in:
parent
3580bdae86
commit
a45ce468cc
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue