Skip to content

Commit

Permalink
Added phpdoc for return type in Entity Manager
Browse files Browse the repository at this point in the history
  • Loading branch information
JiSoft committed Dec 11, 2023
1 parent 397ff6e commit 3b92427
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/Service/EntityManager/EntityManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ public function __construct(RestEntityManager $baseEntityManager, ?string $clien
}

/**
* @throws ReflectionException
* @throws EntityManagerException
* @throws ReflectionException
*
* @return object
*/
public function get($entity, array $uriParams = [], array $queryParams = [], array $headers = [])
{
Expand All @@ -57,6 +59,8 @@ public function get($entity, array $uriParams = [], array $queryParams = [], arr
/**
* @throws ReflectionException
* @throws EntityManagerException
*
* @return object
*/
public function create(Entity $entity, array $uriParams = [], array $queryParams = [], array $headers = [])
{
Expand All @@ -71,6 +75,8 @@ public function create(Entity $entity, array $uriParams = [], array $queryParams
/**
* @throws ReflectionException
* @throws EntityManagerException
*
* @return object
*/
public function update(Entity $entity, $uriParams = [], $queryParams = [], array $headers = [])
{
Expand All @@ -85,6 +91,8 @@ public function update(Entity $entity, $uriParams = [], $queryParams = [], array
/**
* @throws ReflectionException
* @throws EntityManagerException
*
* @return object
*/
public function delete(Entity $entity, $uriParams = [], $queryParams = [], array $headers = [])
{
Expand Down

0 comments on commit 3b92427

Please sign in to comment.