Completed
Push — pac-264--pdo-exception ( ca7491 )
by Tim
01:49
created
src/Observers/UrlKeyAndPathObserver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
         // query whether or not the URL key column has a
141 141
         // value, if yes, use the value from the column
142 142
         if ($this->hasValue(ColumnKeys::URL_KEY)) {
143
-            $urlKey =  $this->getValue(ColumnKeys::URL_KEY);
143
+            $urlKey = $this->getValue(ColumnKeys::URL_KEY);
144 144
         } else {
145 145
             // initialize the URL key with the converted name
146 146
             $urlKey = $this->convertNameToUrlKey($this->getValue(ColumnKeys::NAME));
Please login to merge, or discard this patch.
src/Subjects/BunchSubject.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
     {
228 228
 
229 229
         // explode the path of the root category
230
-        list ($rootCategoryPath, ) = explode('/', $path);
230
+        list ($rootCategoryPath,) = explode('/', $path);
231 231
 
232 232
         // query whether or not a root category with the given path exists
233 233
         if ($rootCategory = $this->getCategoryByPath($rootCategoryPath)) {
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
     public function isUrlKeyOf(array $urlRewrite)
297 297
     {
298 298
         return ((integer) $urlRewrite[MemberNames::ENTITY_ID] === (integer) $this->getLastEntityId()) &&
299
-               ((integer) $urlRewrite[MemberNames::STORE_ID]  === (integer) $this->getRowStoreId());
299
+               ((integer) $urlRewrite[MemberNames::STORE_ID] === (integer) $this->getRowStoreId());
300 300
     }
301 301
 
302 302
     /**
Please login to merge, or discard this patch.