Passed
Push — master ( a3358d...78107a )
by Bukashk0zzz
06:00
created
src/Generator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      *
78 78
      * @return bool
79 79
      */
80
-    public function generate(ShopInfo $shopInfo, iterable $currencies, iterable $categories, iterable $offers, iterable $deliveries = [])
80
+    public function generate(ShopInfo $shopInfo, iterable $currencies, iterable $categories, iterable $offers, iterable $deliveries = [ ])
81 81
     {
82 82
         try {
83 83
             $this->addHeader();
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 
171 171
         if (!empty($category->getAttributes())) {
172 172
             foreach ($category->getAttributes() as $attribute) {
173
-                $this->writer->writeAttribute($attribute['name'], $attribute['value']);
173
+                $this->writer->writeAttribute($attribute[ 'name' ], $attribute[ 'value' ]);
174 174
             }
175 175
         }
176 176
 
Please login to merge, or discard this patch.