mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
csfixer
This commit is contained in:
@@ -50,11 +50,13 @@ class BetweenDatesFilter implements FilterInterface
|
||||
}
|
||||
|
||||
$qb->add('where', $where);
|
||||
$qb->setParameter('dateFrom',
|
||||
$qb->setParameter(
|
||||
'dateFrom',
|
||||
$this->rollingDateConverter->convert($data['date_from'])
|
||||
);
|
||||
// modify dateTo so that entire day is also taken into account up until the beginning of the next day.
|
||||
$qb->setParameter('dateTo',
|
||||
$qb->setParameter(
|
||||
'dateTo',
|
||||
$this->rollingDateConverter->convert($data['date_to'])->modify('+1 day')
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user