From eb3232dfc9025afd0d6a95f5a638283aa31614de Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 24 Aug 2018 21:58:17 +0930 Subject: [PATCH] Missed a spot --- src/Notification/Notification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Notification/Notification.php b/src/Notification/Notification.php index bf299b035..eab6ad5db 100644 --- a/src/Notification/Notification.php +++ b/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'); }