From 909f7bba5a0ba772be9375a461867d7d6d4030ec Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Tue, 26 Dec 2023 13:02:20 +0100 Subject: [PATCH] Fix formatting... --- src/Controllers/ShiftsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controllers/ShiftsController.php b/src/Controllers/ShiftsController.php index 3459442d..2fbf5a92 100644 --- a/src/Controllers/ShiftsController.php +++ b/src/Controllers/ShiftsController.php @@ -103,7 +103,7 @@ class ShiftsController extends BaseController ->orderBy('start'); 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->orWhere('start', '>=', $entry->shift->end); });