Completed
Pull Request — master (#2)
by Tim
02:46
created
src/Services/CategoryBunchProcessor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -572,7 +572,7 @@
 block discarded – undo
572 572
      *
573 573
      * @param string $path The path of the category to count the children for
574 574
      *
575
-     * @return integer The children count of the category with the passed path
575
+     * @return string The children count of the category with the passed path
576 576
      */
577 577
     public function loadCategoryChildrenChildrenCount($path)
578 578
     {
Please login to merge, or discard this patch.
src/Subjects/AbstractCategorySubject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -334,7 +334,7 @@
 block discarded – undo
334 334
         $status = $this->getRegistryProcessor()->getAttribute($this->getSerial());
335 335
 
336 336
         // load the global data we've prepared initially
337
-        $this->storeWebsites =  $status[RegistryKeys::GLOBAL_DATA][RegistryKeys::STORE_WEBSITES];
337
+        $this->storeWebsites = $status[RegistryKeys::GLOBAL_DATA][RegistryKeys::STORE_WEBSITES];
338 338
         $this->attributes = $status[RegistryKeys::GLOBAL_DATA][RegistryKeys::EAV_ATTRIBUTES];
339 339
         $this->stores = $status[RegistryKeys::GLOBAL_DATA][RegistryKeys::STORES];
340 340
         $this->taxClasses = $status[RegistryKeys::GLOBAL_DATA][RegistryKeys::TAX_CLASSES];
Please login to merge, or discard this patch.
src/Observers/CategoryAttributeObserver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         // remove all the empty values from the row
83 83
         $row = array_filter(
84 84
             $this->row,
85
-            function ($value, $key) {
85
+            function($value, $key) {
86 86
                 return ($value !== null && $value !== '');
87 87
             },
88 88
             ARRAY_FILTER_USE_BOTH
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
                 $this->backendType = $backendType;
127 127
 
128 128
                 // initialize the persist method for the found backend type
129
-                list ($persistMethod, ) = $backendTypes[$backendType];
129
+                list ($persistMethod,) = $backendTypes[$backendType];
130 130
 
131 131
                 // set the attribute value
132 132
                 $this->attributeValue = $attributeValue;
Please login to merge, or discard this patch.
src/Observers/CategoryUrlObserver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
         }
82 82
 
83 83
         // convert the elements of the URL path
84
-        array_walk($urlPath, function (&$value) {
84
+        array_walk($urlPath, function(&$value) {
85 85
             $value = $this->convertNameToUrlKey($value);
86 86
         });
87 87
 
Please login to merge, or discard this patch.