Test Failed
Push — master ( 766657...e3cf3e )
by Alexey
04:30
created
system/modules/Ui/widgets/Form/select.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
     $primaryValue = isset($options['value']) ? $options['value'] : null;
10 10
     $primaryValue = is_array($primaryValue) && isset($primaryValue['primary']) ? $primaryValue['primary'] : $primaryValue;
11 11
     if (is_numeric($key) && !is_array($primaryValue) && $primaryValue !== '') {
12
-        $primaryValue = (int)$primaryValue;
12
+        $primaryValue = (int) $primaryValue;
13 13
     }
14 14
     if (
15 15
         (!is_array($primaryValue) && ($key === $primaryValue || (isset($form->userDataTree[$name]) && $form->userDataTree[$name] === $key))) ||
Please login to merge, or discard this patch.
system/modules/Ecommerce/appControllers/content/itemList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
         </div>
17 17
         <div class="col-md-9">
18 18
             <h2 class="category-name"><?= $category ? $category->name : 'Каталог продукции'; ?></h2>
19
-            <?php $this->widget('Ecommerce\items/showOptions');?>
19
+            <?php $this->widget('Ecommerce\items/showOptions'); ?>
20 20
             <?php $this->widget('Ecommerce\items/icons', compact('items')); ?>
21 21
             <?php $this->widget('Ecommerce\items/table', ['items' => $items, 'hide' => true]); ?>
22 22
             <div class="text-center">
Please login to merge, or discard this patch.
system/modules/Ecommerce/widgets/items/item-icon.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
         </a>
11 11
     </h4>
12 12
     <a href="/ecommerce/view/<?= $item->id; ?>">
13
-        <img src="<?= Statics::file($item->image ? $item->image->path :false, '200x200', 'q'); ?>" class="img-responsive" style = 'margin:0 auto;'/>
13
+        <img src="<?= Statics::file($item->image ? $item->image->path : false, '200x200', 'q'); ?>" class="img-responsive" style = 'margin:0 auto;'/>
14 14
     </a>
15 15
     <div class="item-actions">
16 16
         <div class="btn-group btn-group-justified">
Please login to merge, or discard this patch.