mirror of
https://github.com/Karaka-Management/oms-EquipmentManagement.git
synced 2026-02-08 14:28:41 +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()
|
||||
->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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user