Improve the signature definition

This commit is contained in:
2023-10-03 21:25:22 +02:00
parent ef8ac6041a
commit e3559774fd
3 changed files with 5 additions and 6 deletions

View File

@@ -11,6 +11,7 @@ declare(strict_types=1);
namespace Chill\PersonBundle\Repository;
use Chill\MainBundle\Entity\Location;
use Chill\MainBundle\Entity\PostalCode;
use Chill\MainBundle\Entity\Scope;
use Chill\MainBundle\Entity\User;
@@ -23,6 +24,7 @@ interface AccompanyingPeriodACLAwareRepositoryInterface
/**
* @param array|UserJob[] $jobs
* @param array|Scope[] $services
* @param array|Location[] $administrativeLocations
*/
public function countByUnDispatched(array $jobs, array $services, array $administrativeLocations): int;
@@ -45,7 +47,7 @@ interface AccompanyingPeriodACLAwareRepositoryInterface
/**
* @param array|UserJob[] $jobs if empty, does not take this argument into account
* @param array|Scope[] $services if empty, does not take this argument into account
*
* @param array|Location[] $administrativeLocations
* @return list<AccompanyingPeriod>
*/
public function findByUnDispatched(array $jobs, array $services, array $administrativeAdministrativeLocations, ?array $orderBy = null, ?int $limit = null, ?int $offset = null): array;