chore: fix typo
This commit is contained in:
@@ -81,7 +81,7 @@ class InstanceSettings extends Model implements SendsEmail
|
||||
return InstanceSettings::findOrFail(0);
|
||||
}
|
||||
|
||||
public function getRecepients($notification)
|
||||
public function getRecipients($notification)
|
||||
{
|
||||
$recipients = data_get($notification, 'emails', null);
|
||||
if (is_null($recipients) || $recipients === '') {
|
||||
|
||||
@@ -114,7 +114,7 @@ class User extends Authenticatable implements SendsEmail
|
||||
return $this->belongsToMany(Team::class)->withPivot('role');
|
||||
}
|
||||
|
||||
public function getRecepients($notification)
|
||||
public function getRecipients($notification)
|
||||
{
|
||||
return $this->email;
|
||||
}
|
||||
|
||||
@@ -4,5 +4,5 @@ namespace App\Notifications\Channels;
|
||||
|
||||
interface SendsEmail
|
||||
{
|
||||
public function getRecepients($notification);
|
||||
public function getRecipients($notification);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user