Completed
Pull Request — master (#37)
by
unknown
16:57 queued 06:47
created
src/Observers/UrlRewriteObserver.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -456,7 +456,7 @@  discard block
 block discarded – undo
456 456
         // and prepare the attributes for each URL rewrite
457 457
         foreach ($this->productCategoryIds as $this->categoryId) {
458 458
             try {
459
-                $preparedAttributes =  $this->prepareAttributes($storeViewCode);
459
+                $preparedAttributes = $this->prepareAttributes($storeViewCode);
460 460
                 $this->urlRewrites[$this->categoryId] = $preparedAttributes;
461 461
             } catch (\Exception $e) {
462 462
                 // query whether or not strict mode has been enabled
@@ -657,8 +657,7 @@  discard block
 block discarded – undo
657 657
 
658 658
         // load the product URL suffix to use
659 659
         $productUrlSuffix = isset($configData['product_url_suffix']) ?
660
-            (!empty($configData['product_url_suffix']) ? '.' . $configData['product_url_suffix'] :$configData['product_url_suffix']) :
661
-            '.html';
660
+            (!empty($configData['product_url_suffix']) ? '.' . $configData['product_url_suffix'] : $configData['product_url_suffix']) : '.html';
662 661
         $urlSuffix = $this->getSubject()->getCoreConfigData(CoreConfigDataKeys::CATALOG_SEO_PRODUCT_URL_SUFFIX, $productUrlSuffix);
663 662
 
664 663
         // query whether or not, the category is the root category
Please login to merge, or discard this patch.