diff --git a/framework/core/src/Notification/Notification.php b/framework/core/src/Notification/Notification.php index bf299b035..eab6ad5db 100644 --- a/framework/core/src/Notification/Notification.php +++ b/framework/core/src/Notification/Notification.php @@ -120,7 +120,7 @@ class Notification extends AbstractModel * * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ - public function sender() + public function fromUser() { return $this->belongsTo(User::class, 'from_user_id'); }