Skip to content

Commit

Permalink
+ Full class paths in docBlock
Browse files Browse the repository at this point in the history
Full class paths are needed when using API

mirasvit#197
  • Loading branch information
joeriLock93 authored Aug 12, 2020
1 parent c8a1a27 commit c738ed3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Api/Repository/PostRepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
interface PostRepositoryInterface
{
/**
* @return Collection | PostInterface[]
* @return Collection | Mirasvit\Blog\Api\Data\PostInterface[]
*/
public function getCollection();

Expand All @@ -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);

Expand All @@ -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
*/
Expand Down

0 comments on commit c738ed3

Please sign in to comment.