Completed
Pull Request — master (#76)
by Tim
01:53
created
src/Observers/CategoryObserver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@
 block discarded – undo
176 176
         $this->prepareStoreViewCode();
177 177
 
178 178
         // explode the path into the category names
179
-        if ($categories = $this->getValue(ColumnKeys::PATH, array(), function ($value) { return $this->serializer->explode($value); })) {
179
+        if ($categories = $this->getValue(ColumnKeys::PATH, array(), function($value) { return $this->serializer->explode($value); })) {
180 180
             // initialize the flag to query whether or not the category is a leaf
181 181
             $leaf = false;
182 182
             // initialize the artefacts and reset the category IDs
Please login to merge, or discard this patch.
src/Observers/NormalizePathObserver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,6 +94,6 @@
 block discarded – undo
94 94
      */
95 95
     protected function process()
96 96
     {
97
-        $this->setValue(ColumnKeys::PATH, $this->getValue(ColumnKeys::PATH, null, function ($value) { return $this->serializer->normalize($value); } ));
97
+        $this->setValue(ColumnKeys::PATH, $this->getValue(ColumnKeys::PATH, null, function($value) { return $this->serializer->normalize($value); } ));
98 98
     }
99 99
 }
Please login to merge, or discard this patch.