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;