mirror of
https://github.com/Karaka-Management/oms-EquipmentManagement.git
synced 2026-02-17 02:38:40 +00:00
fix tests
This commit is contained in:
parent
318cbed5aa
commit
22af1e496b
|
|
@ -312,7 +312,7 @@ final class BackendController extends Controller
|
||||||
|
|
||||||
$view->data['equipment'] = EquipmentMapper::getAll()
|
$view->data['equipment'] = EquipmentMapper::getAll()
|
||||||
->with('account')
|
->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();
|
->executeGetArray();
|
||||||
|
|
||||||
return $view;
|
return $view;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user