chore: fix typo

This commit is contained in:
peaklabs-dev
2024-12-09 12:36:33 +01:00
parent c995819ed3
commit 4428b95a65
3 changed files with 3 additions and 3 deletions

View File

@@ -81,7 +81,7 @@ class InstanceSettings extends Model implements SendsEmail
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 @@ class User extends Authenticatable implements SendsEmail
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 @@ namespace App\Notifications\Channels;
interface SendsEmail interface SendsEmail
{ {
public function getRecepients($notification); public function getRecipients($notification);
} }