chore: Relocate classes

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-04-21 21:09:32 +02:00
parent 5e1f4be413
commit cda692d4de
285 changed files with 1037 additions and 1550 deletions

View File

@@ -24,7 +24,7 @@
namespace SP\Domain\Security\Ports;
use SP\DataModel\ItemSearchData;
use SP\Domain\Core\Dtos\ItemSearchDto;
use SP\Domain\Core\Exceptions\ConstraintException;
use SP\Domain\Core\Exceptions\QueryException;
use SP\Domain\Security\Models\Track as TrackModel;
@@ -78,10 +78,10 @@ interface TrackRepository
/**
* Searches for items by a given filter
*
* @param ItemSearchData $itemSearchData
* @param ItemSearchDto $itemSearchData
* @param int $time The time to decide whether the track has been tracked or not.
* If the track time is equal or greater than $time, it's considered as tracked.
* @return QueryResult<T>
*/
public function search(ItemSearchData $itemSearchData, int $time): QueryResult;
public function search(ItemSearchDto $itemSearchData, int $time): QueryResult;
}