Passed
Push — develop-v3 ( c4c6fd...b3137b )
by Andrew
04:20
created
src/services/Commerce.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
      *
262 262
      * @throws InvalidConfigException
263 263
      */
264
-    protected function addProductDataFromProductOrVariant(ItemBaseEvent $event, Variant|Product $productVariant = null, $index = null, $listName = ''): void
264
+    protected function addProductDataFromProductOrVariant(ItemBaseEvent $event, Variant | Product $productVariant = null, $index = null, $listName = ''): void
265 265
     {
266 266
         $eventItem = $this->getNewItemParameter();
267 267
 
@@ -388,7 +388,7 @@  discard block
 block discarded – undo
388 388
                 $name = $cat->title;
389 389
 
390 390
                 while ($cat = $cat->parent) {
391
-                    $name = $cat->title . '/' . $name;
391
+                    $name = $cat->title.'/'.$name;
392 392
                 }
393 393
 
394 394
                 $cats[] = $name;
Please login to merge, or discard this patch.