chore: fix deprecations
This commit is contained in:
1 parent
52926ec6cc
commit
4b20aad98e
18 files changed
+52
-52
No files matched your search
@@ -118,7 +118,7 @@ class AssignmentType extends AbstractType
|
||||
return $qb
|
||||
->where($qb->expr()->like('user.roles', ':role'))
|
||||
->setParameter('role', '%ROLE_MANAGER%')
|
||||
->orderBy('user.firstName', 'ASC')
|
||||
->orderBy('user.firstName', \SortDirection::Ascending)
|
||||
;
|
||||
},
|
||||
])
|
||||
|
||||
@@ -37,7 +37,7 @@ class JobProfileType extends AbstractType
|
||||
'expanded' => true,
|
||||
'query_builder' => function (EntityRepository $repository) {
|
||||
return $repository->createQueryBuilder('job_profile')
|
||||
->orderBy('job_profile.name', 'ASC')
|
||||
->orderBy('job_profile.name', \SortDirection::Ascending)
|
||||
;
|
||||
},
|
||||
])
|
||||
|
||||
@@ -48,7 +48,7 @@ class TeamerFilterType extends AbstractType
|
||||
'empty_label' => 'nicht filtern',
|
||||
'query_builder' => function (EntityRepository $repository) {
|
||||
return $repository->createQueryBuilder('job_profile')
|
||||
->orderBy('job_profile.name', 'ASC');
|
||||
->orderBy('job_profile.name', \SortDirection::Ascending);
|
||||
},
|
||||
])
|
||||
->add('noTrainings', CheckboxType::class, [
|
||||
|
||||
Reference in new issue
Block a user