chore: fix typo

This commit is contained in:
peaklabs-dev 2024-12-09 12:36:33 +01:00
parent c995819ed3
commit 4428b95a65
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -81,7 +81,7 @@ public static function get()
return InstanceSettings::findOrFail(0); return InstanceSettings::findOrFail(0);
} }
public function getRecepients($notification) public function getRecipients($notification)
{ {
$recipients = data_get($notification, 'emails', null); $recipients = data_get($notification, 'emails', null);
if (is_null($recipients) || $recipients === '') { if (is_null($recipients) || $recipients === '') {

View file

@ -114,7 +114,7 @@ public function teams()
return $this->belongsToMany(Team::class)->withPivot('role'); return $this->belongsToMany(Team::class)->withPivot('role');
} }
public function getRecepients($notification) public function getRecipients($notification)
{ {
return $this->email; return $this->email;
} }

View file

@ -4,5 +4,5 @@
interface SendsEmail interface SendsEmail
{ {
public function getRecepients($notification); public function getRecipients($notification);
} }