Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

chore: fix typo

peaklabs-dev4428b95a65c8
diff --git a/app/Models/InstanceSettings.php b/app/Models/InstanceSettings.php
index eeb8039252..45ccece1fe 100644
--- a/app/Models/InstanceSettings.php
+++ b/app/Models/InstanceSettings.php
@@ -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 === '') {
diff --git a/app/Models/User.php b/app/Models/User.php
index 25fb33d668..7c23631c36 100644
--- a/app/Models/User.php
+++ b/app/Models/User.php
@@ -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;
}
diff --git a/app/Notifications/Channels/SendsEmail.php b/app/Notifications/Channels/SendsEmail.php
index fc7528834a..3adc6d0a21 100644
--- a/app/Notifications/Channels/SendsEmail.php
+++ b/app/Notifications/Channels/SendsEmail.php
@@ -4,5 +4,5 @@ namespace App\Notifications\Channels;
interface SendsEmail
{
- public function getRecepients($notification);
+ public function getRecipients($notification);
}