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