Feature: [export][evaluation] filter by current evaluation (without any end date)

This commit is contained in:
2022-11-02 16:17:10 +01:00
parent 2d40c38c88
commit f0b2ec1348
2 changed files with 3 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ class CurrentEvaluationsFilter implements FilterInterface
return null;
}
public function alterQuery(QueryBuilder $qb, $data)
public function alterQuery(QueryBuilder $qb, $data): void
{
$qb->andWhere('workeval.endDate IS NULL');
}
@@ -33,7 +33,7 @@ class CurrentEvaluationsFilter implements FilterInterface
return Declarations::EVAL_TYPE;
}
public function buildForm(FormBuilderInterface $builder)
public function buildForm(FormBuilderInterface $builder): void
{
//no form needed
}