mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-08 01:16:56 +01:00
@@ -25,7 +25,6 @@
|
||||
namespace SP\Domain\Client\Services;
|
||||
|
||||
use SP\Core\Application;
|
||||
use SP\DataModel\ItemSearchData;
|
||||
use SP\Domain\Account\Ports\AccountFilterBuilder;
|
||||
use SP\Domain\Client\Models\Client as ClientModel;
|
||||
use SP\Domain\Client\Ports\ClientRepository;
|
||||
@@ -33,6 +32,7 @@ use SP\Domain\Client\Ports\ClientService;
|
||||
use SP\Domain\Common\Models\Simple;
|
||||
use SP\Domain\Common\Services\Service;
|
||||
use SP\Domain\Common\Services\ServiceException;
|
||||
use SP\Domain\Core\Dtos\ItemSearchDto;
|
||||
use SP\Domain\Core\Exceptions\ConstraintException;
|
||||
use SP\Domain\Core\Exceptions\QueryException;
|
||||
use SP\Domain\Core\Exceptions\SPException;
|
||||
@@ -43,7 +43,7 @@ use SP\Infrastructure\Database\QueryResult;
|
||||
use function SP\__u;
|
||||
|
||||
/**
|
||||
* Class ClientService
|
||||
* Class Client
|
||||
*
|
||||
* @template T of ClientModel
|
||||
*/
|
||||
@@ -58,11 +58,11 @@ final class Client extends Service implements ClientService
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ItemSearchData $itemSearchData
|
||||
* @param ItemSearchDto $itemSearchData
|
||||
*
|
||||
* @return QueryResult<T>
|
||||
*/
|
||||
public function search(ItemSearchData $itemSearchData): QueryResult
|
||||
public function search(ItemSearchDto $itemSearchData): QueryResult
|
||||
{
|
||||
return $this->clientRepository->search($itemSearchData);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user