1
0
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:
Toby Zerner
2018-08-24 21:30:06 +09:30
parent 8248ba2f7a
commit ca93c8c609
7 changed files with 9 additions and 9 deletions

View File

@@ -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);
}