Use object accessor instead of array accessor

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

View file

@ -21,7 +21,7 @@ class CheckoutAcceptance extends Model
{
// At this point the endpoint is the same for everything.
// In the future this may want to be adapted for individual notifications.
return Setting::getSettings()['alert_email'];
return Setting::getSettings()->alert_email;
}
/**