chore: Move exceptions to domain

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2023-11-26 22:17:14 +01:00
parent 3f69f09e5f
commit d542685e14
508 changed files with 2830 additions and 2475 deletions

View File

@@ -27,6 +27,7 @@ namespace SP\Modules\Web\Controllers\Install;
use Exception;
use SP\Core\Application;
use SP\Domain\Core\Exceptions\SPException;
use SP\Domain\Install\Adapters\InstallDataFactory;
use SP\Domain\Install\Ports\InstallerServiceInterface;
use SP\Http\JsonResponse;
@@ -41,7 +42,7 @@ final class InstallController extends ControllerBase
{
use JsonTrait;
private \SP\Domain\Install\Ports\InstallerServiceInterface $installer;
private InstallerServiceInterface $installer;
public function __construct(
Application $application,
@@ -55,7 +56,7 @@ final class InstallController extends ControllerBase
/**
* @return bool
* @throws \SP\Core\Exceptions\SPException
* @throws SPException
*/
public function installAction(): bool
{