James Cole
2024-02-07 06:14:40 +01:00
parent ba8d65835a
commit d0844356cb
4 changed files with 42 additions and 44 deletions

View File

@@ -66,8 +66,8 @@ class AvailableBudgetRepository implements AvailableBudgetRepositoryInterface
if (null !== $start && null !== $end) {
$query->where(
static function (Builder $q1) use ($start, $end): void { // @phpstan-ignore-line
$q1->where('start_date', '=', $start->format('Y-m-d'));
$q1->where('end_date', '=', $end->format('Y-m-d'));
$q1->where('start_date', '=', $start);
$q1->where('end_date', '=', $end);
}
);
}