mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-01-13 21:01:24 +00:00
Apply new rector rules regarding to PHP version to 8.4
This commit is contained in:
@@ -35,6 +35,7 @@ class ActivityReasonRepository extends ServiceEntityRepository
|
||||
/**
|
||||
* @return ActivityReason[]
|
||||
*/
|
||||
#[\Override]
|
||||
public function findAll(): array
|
||||
{
|
||||
$qb = $this->createQueryBuilder('ar');
|
||||
|
||||
@@ -35,10 +35,9 @@ class ActivityRepository extends ServiceEntityRepository implements AssociatedEn
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated use @see{ActivityACLAwareRepositoryInterface::findByAccompanyingPeriod}
|
||||
*
|
||||
* @return Activity[]
|
||||
*/
|
||||
#[\Deprecated(message: 'use @see{ActivityACLAwareRepositoryInterface::findByAccompanyingPeriod}')]
|
||||
public function findByAccompanyingPeriod(AccompanyingPeriod $period, array $scopes, ?bool $allowNullScope = false, ?int $limit = 100, ?int $offset = 0, array $orderBy = ['date' => 'desc']): array
|
||||
{
|
||||
$qb = $this->createQueryBuilder('a');
|
||||
|
||||
Reference in New Issue
Block a user