fix tests

This commit is contained in:
Dennis Eichhorn 2024-04-25 03:26:52 +00:00
parent 318cbed5aa
commit 22af1e496b

View File

@ -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;