diff --git a/application/Espo/Tools/EntityManager/Hook/CreateHook.php b/application/Espo/Tools/EntityManager/Hook/CreateHook.php index c3e8fc6094..7743d75293 100644 --- a/application/Espo/Tools/EntityManager/Hook/CreateHook.php +++ b/application/Espo/Tools/EntityManager/Hook/CreateHook.php @@ -29,9 +29,13 @@ namespace Espo\Tools\EntityManager\Hook; +use Espo\Core\Exceptions\Error; use Espo\Tools\EntityManager\Params; interface CreateHook { + /** + * @throws Error + */ public function process(Params $params): void; } diff --git a/application/Espo/Tools/EntityManager/Hook/DeleteHook.php b/application/Espo/Tools/EntityManager/Hook/DeleteHook.php index 85ac983035..2b8d3918ff 100644 --- a/application/Espo/Tools/EntityManager/Hook/DeleteHook.php +++ b/application/Espo/Tools/EntityManager/Hook/DeleteHook.php @@ -29,9 +29,13 @@ namespace Espo\Tools\EntityManager\Hook; +use Espo\Core\Exceptions\Error; use Espo\Tools\EntityManager\Params; interface DeleteHook { + /** + * @throws Error + */ public function process(Params $params): void; } diff --git a/application/Espo/Tools/EntityManager/Hook/UpdateHook.php b/application/Espo/Tools/EntityManager/Hook/UpdateHook.php index b960e38358..0696715549 100644 --- a/application/Espo/Tools/EntityManager/Hook/UpdateHook.php +++ b/application/Espo/Tools/EntityManager/Hook/UpdateHook.php @@ -29,9 +29,13 @@ namespace Espo\Tools\EntityManager\Hook; +use Espo\Core\Exceptions\Error; use Espo\Tools\EntityManager\Params; interface UpdateHook { + /** + * @throws Error + */ public function process(Params $params, Params $previousParams): void; }