diff --git a/app/modules/web/Init.php b/app/modules/web/Init.php index f2fa060e..e681ef42 100644 --- a/app/modules/web/Init.php +++ b/app/modules/web/Init.php @@ -107,14 +107,19 @@ final class Init extends ModuleBase /** * Initialize Web App * + * @param string $controller + * * @throws \Defuse\Crypto\Exception\EnvironmentIsBrokenException * @throws \JsonException + * @throws \Psr\Container\ContainerExceptionInterface + * @throws \Psr\Container\NotFoundExceptionInterface * @throws \SP\Core\Exceptions\ConstraintException * @throws \SP\Core\Exceptions\InitializationException * @throws \SP\Core\Exceptions\QueryException * @throws \SP\Core\Exceptions\SPException * @throws \SP\Repositories\NoSuchItemException * @throws \SP\Storage\File\FileException + * @throws \Exception */ public function initialize(string $controller): void { diff --git a/lib/SP/Bootstrap.php b/lib/SP/Bootstrap.php index 40d42756..b236aa36 100644 --- a/lib/SP/Bootstrap.php +++ b/lib/SP/Bootstrap.php @@ -228,6 +228,8 @@ final class Bootstrap } /** + * @throws \Psr\Container\ContainerExceptionInterface + * @throws \Psr\Container\NotFoundExceptionInterface * @throws \SP\Core\Exceptions\CheckException * @throws \SP\Core\Exceptions\ConfigException * @throws \SP\Core\Exceptions\InitializationException @@ -362,6 +364,8 @@ final class Bootstrap /** * Cargar la configuración * + * @throws \Psr\Container\ContainerExceptionInterface + * @throws \Psr\Container\NotFoundExceptionInterface * @throws \SP\Core\Exceptions\ConfigException * @throws \SP\Services\Upgrade\UpgradeException */ @@ -375,6 +379,8 @@ final class Bootstrap /** * Comprobar la versión de configuración y actualizarla * + * @throws \Psr\Container\ContainerExceptionInterface + * @throws \Psr\Container\NotFoundExceptionInterface * @throws \SP\Services\Upgrade\UpgradeException */ private function checkConfigVersion(): void diff --git a/lib/SP/Core/ModuleBase.php b/lib/SP/Core/ModuleBase.php index 4c83e54a..408913c3 100644 --- a/lib/SP/Core/ModuleBase.php +++ b/lib/SP/Core/ModuleBase.php @@ -58,6 +58,9 @@ abstract class ModuleBase * Module constructor. * * @param ContainerInterface $container + * + * @throws \Psr\Container\ContainerExceptionInterface + * @throws \Psr\Container\NotFoundExceptionInterface */ public function __construct(ContainerInterface $container) {