diff --git a/shared/Services/PostService.php b/shared/Services/PostService.php index ba31912..00482ed 100644 --- a/shared/Services/PostService.php +++ b/shared/Services/PostService.php @@ -56,15 +56,16 @@ public function __init(PostTransformer $transformer) $this->transformer = $transformer; } - /** - * Get posts - * @return array - * @throws ConfigException - * @throws DatabaseException - * @throws DiException - * @throws ModelException - * @throws ReflectionException - */ + /** + * Get posts + * @param Request $request + * @return PaginatorInterface + * @throws ConfigException + * @throws DatabaseException + * @throws DiException + * @throws ModelException + * @throws ReflectionException + */ public function getPosts(Request $request): PaginatorInterface { $per_page = $request->get('per_page', 12);