Completed
Push — master ( d1426d...0727d2 )
by
unknown
43s
created
src/Observers/CategoryObserver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
         $this->prepareStoreViewCode();
172 172
 
173 173
         // explode the path into the category names
174
-        if ($categories = $this->getValue(ColumnKeys::PATH, array(), function ($value) {
174
+        if ($categories = $this->getValue(ColumnKeys::PATH, array(), function($value) {
175 175
             return $this->serializer->explode($value);
176 176
         })) {
177 177
             // initialize the flag to query whether or not the category is a leaf
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
 
198 198
                 // empty $category failed on persisting, of course
199 199
                 if (empty($category)) {
200
-                    $message = sprintf('Categorie "%s" can\'t prepare for saving',$this->categoryPath);
200
+                    $message = sprintf('Categorie "%s" can\'t prepare for saving', $this->categoryPath);
201 201
                     $this->getSubject()->getSystemLogger()->error($this->getSubject()->appendExceptionSuffix($message));
202 202
                     if (!$this->getSubject()->isStrictMode()) {
203 203
                         $this->getSubject()->mergeStatus(
Please login to merge, or discard this patch.