@@ -25,7 +25,7 @@ |
||
25 | 25 | |
26 | 26 | function parseWarehouse($warehouseCount) { |
27 | 27 | $count = $warehouseCount['@attributes']['КоличествоНаСкладе']; |
28 | - $objectId = \App::$cur->migrations->findObject((string)$warehouseCount['@attributes']['ИдСклада'], 'Ecommerce\Warehouse'); |
|
28 | + $objectId = \App::$cur->migrations->findObject((string) $warehouseCount['@attributes']['ИдСклада'], 'Ecommerce\Warehouse'); |
|
29 | 29 | if ($objectId) { |
30 | 30 | $modelName = get_class($this->model); |
31 | 31 | $warehouse = \Ecommerce\Item\Offer\Warehouse::get([[$modelName::index(), $this->model->pk()], [\Ecommerce\Warehouse::index(), $objectId->object_id]]); |