mirror of
https://github.com/flarum/core.git
synced 2025-10-13 07:54:25 +02:00
Rename notification.sender
This commit is contained in:
@@ -65,7 +65,7 @@ class NotificationSerializer extends AbstractSerializer
|
||||
* @param Notification $notification
|
||||
* @return \Tobscure\JsonApi\Relationship
|
||||
*/
|
||||
protected function sender($notification)
|
||||
protected function fromUser($notification)
|
||||
{
|
||||
return $this->hasOne($notification, BasicUserSerializer::class);
|
||||
}
|
||||
|
Reference in New Issue
Block a user