mirror of
https://github.com/flarum/core.git
synced 2025-10-12 23:44:27 +02:00
Rename post.hideUser
This commit is contained in:
@@ -100,7 +100,7 @@ class PostSerializer extends BasicPostSerializer
|
||||
/**
|
||||
* @return \Tobscure\JsonApi\Relationship
|
||||
*/
|
||||
protected function hideUser($post)
|
||||
protected function hiddenUser($post)
|
||||
{
|
||||
return $this->hasOne($post, BasicUserSerializer::class);
|
||||
}
|
||||
|
Reference in New Issue
Block a user