From 2d4f11717cdff4d8a4fd7c612aa189c5084a535f Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Sun, 3 Jul 2022 22:54:13 +0300 Subject: [PATCH] throws tags --- application/Espo/Services/Settings.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/application/Espo/Services/Settings.php b/application/Espo/Services/Settings.php index f5f7f6ead5..ec1c1ae73f 100644 --- a/application/Espo/Services/Settings.php +++ b/application/Espo/Services/Settings.php @@ -113,6 +113,11 @@ class Settings return $data; } + /** + * @throws \Espo\Core\Exceptions\BadRequest + * @throws Forbidden + * @throws \Espo\Core\Exceptions\Error + */ public function setConfigData(stdClass $data): void { $user = $this->applicationState->getUser(); @@ -291,6 +296,9 @@ class Settings } } + /** + * @throws \Espo\Core\Exceptions\BadRequest + */ private function processValidation(Entity $entity, stdClass $data): void { $this->fieldValidationManager->process($entity, $data);