Fix formatting...

This commit is contained in:
Igor Scheller 2023-12-26 13:02:20 +01:00 committed by msquare
parent 2baa101a8f
commit 909f7bba5a
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class ShiftsController extends BaseController
->orderBy('start'); ->orderBy('start');
foreach ($shiftEntries as $entry) { foreach ($shiftEntries as $entry) {
$freeShifts->where(function (QueryBuilder $query) use ($entry) { $freeShifts->where(function (QueryBuilder $query) use ($entry): void {
$query->where('end', '<=', $entry->shift->start); $query->where('end', '<=', $entry->shift->start);
$query->orWhere('start', '>=', $entry->shift->end); $query->orWhere('start', '>=', $entry->shift->end);
}); });