From 3c2b7a757c4ba53719766335fa402efea3b5bc0d Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Sun, 12 Jun 2022 19:37:43 +0300 Subject: [PATCH] doc fix --- application/Espo/Core/Record/Service.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/Espo/Core/Record/Service.php b/application/Espo/Core/Record/Service.php index dbdc4496b2..b585400ba4 100644 --- a/application/Espo/Core/Record/Service.php +++ b/application/Espo/Core/Record/Service.php @@ -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