mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-11 10:56:58 +01:00
chore: Move exceptions to domain
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
|
||||
namespace SP\Infrastructure\Plugin\Repositories;
|
||||
|
||||
use SP\Core\Exceptions\ConstraintException;
|
||||
use SP\Core\Exceptions\QueryException;
|
||||
use SP\Domain\Core\Exceptions\ConstraintException;
|
||||
use SP\Domain\Core\Exceptions\QueryException;
|
||||
use SP\Domain\Plugin\Ports\PluginDataRepositoryInterface;
|
||||
use SP\Infrastructure\Common\Repositories\Repository;
|
||||
use SP\Infrastructure\Common\Repositories\RepositoryItemTrait;
|
||||
@@ -103,8 +103,8 @@ final class PluginDataRepository extends Repository implements PluginDataReposit
|
||||
* @param string $id
|
||||
*
|
||||
* @return int
|
||||
* @throws \SP\Core\Exceptions\ConstraintException
|
||||
* @throws \SP\Core\Exceptions\QueryException
|
||||
* @throws ConstraintException
|
||||
* @throws QueryException
|
||||
*/
|
||||
public function delete(string $id): int
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user