From c738ed3a985386c86ce40d62fe8dce2d4b62c23f Mon Sep 17 00:00:00 2001 From: joeriLock93 <54021976+joeriLock93@users.noreply.github.com> Date: Wed, 12 Aug 2020 13:37:04 +0200 Subject: [PATCH] + Full class paths in docBlock Full class paths are needed when using API https://github.com/mirasvit/module-blog/issues/197 --- Api/Repository/PostRepositoryInterface.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Api/Repository/PostRepositoryInterface.php b/Api/Repository/PostRepositoryInterface.php index 08ec41a..068d9cb 100644 --- a/Api/Repository/PostRepositoryInterface.php +++ b/Api/Repository/PostRepositoryInterface.php @@ -9,7 +9,7 @@ interface PostRepositoryInterface { /** - * @return Collection | PostInterface[] + * @return Collection | Mirasvit\Blog\Api\Data\PostInterface[] */ public function getCollection(); @@ -19,21 +19,21 @@ public function getCollection(); public function create(); /** - * @param PostInterface $model + * @param Mirasvit\Blog\Api\Data\PostInterface $model * - * @return PostInterface + * @return Mirasvit\Blog\Api\Data\PostInterface */ public function save(PostInterface $model); /** - * @return PostInterface[] + * @return Mirasvit\Blog\Api\Data\PostInterface[] */ public function getList(); /** * @param int $id * - * @return PostInterface|false + * @return Mirasvit\Blog\Api\Data\PostInterface|false */ public function get($id); @@ -47,15 +47,15 @@ public function apiDelete($id); /** * @param int $id - * @param PostInterface $post + * @param Mirasvit\Blog\Api\Data\PostInterface $post * - * @return PostInterface + * @return Mirasvit\Blog\Api\Data\PostInterface * @throws StateException */ public function update($id, PostInterface $post); /** - * @param PostInterface $model + * @param Mirasvit\Blog\Api\Data\PostInterface $model * * @return bool */