Test Failed
Push — master ( 13fa39...03fc86 )
by Alexey
05:15
created
system/modules/Exchange1c/objects/Parser/Item/Offer/Warehouse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
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]]);
Please login to merge, or discard this patch.