From 4742a8857eb858ead24824b7005f5801a6d3064e Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 14 Oct 2023 09:54:27 +0200 Subject: [PATCH] fix: typo in endorsement emails forver -> forever --- app/Notifications/EndorsementCreatedNotification.php | 2 +- app/Notifications/EndorsementModifiedNotification.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Notifications/EndorsementCreatedNotification.php b/app/Notifications/EndorsementCreatedNotification.php index c805750c1..caaa803ae 100644 --- a/app/Notifications/EndorsementCreatedNotification.php +++ b/app/Notifications/EndorsementCreatedNotification.php @@ -41,7 +41,7 @@ public function via($notifiable) */ public function toMail($notifiable) { - $validTo = isset($this->endorsement->valid_to) ? $this->endorsement->valid_to->toEuropeanDateTime() : 'Forver'; + $validTo = isset($this->endorsement->valid_to) ? $this->endorsement->valid_to->toEuropeanDateTime() : 'Forever'; $textLines = [ 'A new **' . ucwords(strtolower((string) $this->endorsement->type)) . ' Endorsement** has been issued for your training, at following positions: *' . $this->endorsement->positions->pluck('callsign')->implode(', ') . '*', diff --git a/app/Notifications/EndorsementModifiedNotification.php b/app/Notifications/EndorsementModifiedNotification.php index 8d43dddc2..f84bac63f 100644 --- a/app/Notifications/EndorsementModifiedNotification.php +++ b/app/Notifications/EndorsementModifiedNotification.php @@ -41,7 +41,7 @@ public function via($notifiable) */ public function toMail($notifiable) { - $validTo = isset($this->endorsement->valid_to) ? $this->endorsement->valid_to->toEuropeanDateTime() : 'Forver'; + $validTo = isset($this->endorsement->valid_to) ? $this->endorsement->valid_to->toEuropeanDateTime() : 'Forever'; $textLines = [ 'Your **' . ucwords(strtolower((string) $this->endorsement->type)) . ' Endorsement** has been modified at following positions: *' . $this->endorsement->positions->pluck('callsign')->implode(', ') . '*',