Fix formatting...
This commit is contained in:
parent
2baa101a8f
commit
909f7bba5a
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue