Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

+ Full class paths in docBlock #203

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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