This commit is contained in:
Yuri Kuznetsov
2022-06-12 19:37:43 +03:00
parent 69fc1c199d
commit 3c2b7a757c
+2 -2
View File
@@ -286,7 +286,8 @@ class Service implements Crud,
*
* @return TEntity
* @throws Error
* @throws NotFoundSilent If no read access.
* @throws NotFoundSilent If not found.
* @throws ForbiddenSilent If no read access.
*/
public function read(string $id, ReadParams $params): Entity
{
@@ -315,7 +316,6 @@ class Service implements Crud,
* Get an entity by ID. Access control check is performed.
*
* @throws ForbiddenSilent If no read access.
*
* @return TEntity|null
*/
public function getEntity(string $id): ?Entity