From 22af1e496b5c0906500759c4ee56a2f027cb7f05 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 25 Apr 2024 03:26:52 +0000 Subject: [PATCH] fix tests --- Controller/BackendController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller/BackendController.php b/Controller/BackendController.php index a2fbd58..b591b3b 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -312,7 +312,7 @@ final class BackendController extends Controller $view->data['equipment'] = EquipmentMapper::getAll() ->with('account') - ->where('id', \array_map(function (Inspection $inspection) { return $inspection->reference; }, $view->data['inspections'])) + ->where('id', \array_map(function (Inspection $inspection) : int { return $inspection->reference; }, $view->data['inspections'])) ->executeGetArray(); return $view;