mirror of
https://github.com/flarum/framework.git
synced 2024-12-03 15:43:59 +08:00
Missed a spot
This commit is contained in:
parent
ad33638a99
commit
d51a779241
|
@ -120,7 +120,7 @@ class Notification extends AbstractModel
|
||||||
*
|
*
|
||||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||||
*/
|
*/
|
||||||
public function sender()
|
public function fromUser()
|
||||||
{
|
{
|
||||||
return $this->belongsTo(User::class, 'from_user_id');
|
return $this->belongsTo(User::class, 'from_user_id');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user