protected function relevantPosts($discussion) { return $this->hasMany($discussion, 'Flarum\\Api\\Serializer\\PostBasicSerializer'); }