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

@@ -31,6 +31,7 @@ use SP\Core\Application;
use SP\Domain\Api\Ports\ApiServiceInterface;
use SP\Domain\Client\Ports\ClientAdapterInterface;
use SP\Domain\Client\Ports\ClientServiceInterface;
use SP\Domain\Core\Exceptions\InvalidClassException;
use SP\Modules\Api\Controllers\ControllerBase;
use SP\Modules\Api\Controllers\Help\ClientHelp;
@@ -43,14 +44,14 @@ abstract class ClientBase extends ControllerBase
protected ClientAdapterInterface $clientAdapter;
/**
* @throws \SP\Core\Exceptions\InvalidClassException
* @throws InvalidClassException
*/
public function __construct(
Application $application,
Klein $router,
ApiServiceInterface $apiService,
Acl $acl,
\SP\Domain\Client\Ports\ClientServiceInterface $clientService,
Application $application,
Klein $router,
ApiServiceInterface $apiService,
Acl $acl,
ClientServiceInterface $clientService,
ClientAdapterInterface $clientAdapter
) {
parent::__construct($application, $router, $apiService, $acl);