Apply new rector rules regarding to PHP version to 8.4

This commit is contained in:
2025-11-03 13:36:51 +01:00
parent d6f5ef4bb1
commit cdc489f01e
1086 changed files with 2219 additions and 1378 deletions

View File

@@ -35,6 +35,7 @@ class ActivityReasonRepository extends ServiceEntityRepository
/**
* @return ActivityReason[]
*/
#[\Override]
public function findAll(): array
{
$qb = $this->createQueryBuilder('ar');

View File

@@ -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');