throws tags

This commit is contained in:
Yuri Kuznetsov
2022-07-03 22:54:13 +03:00
parent be6cfefbec
commit 2d4f11717c
+8
View File
@@ -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);