@@ -227,7 +227,7 @@ discard block |
||
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)) { |
@@ -295,9 +295,9 @@ discard block |
||
295 | 295 | */ |
296 | 296 | public function isUrlKeyOf(array $urlRewrite) |
297 | 297 | { |
298 | - return ((integer) $urlRewrite[MemberNames::ENTITY_ID] === (integer) $this->getLastEntityId()) && |
|
299 | - ((integer) $urlRewrite[MemberNames::STORE_ID] === (integer) $this->getRowStoreId()) && |
|
300 | - ((integer) $urlRewrite[MemberNames::REDIRECT_TYPE] === 0); |
|
298 | + return ((integer) $urlRewrite[MemberNames::ENTITY_ID] === (integer) $this->getLastEntityId()) && |
|
299 | + ((integer) $urlRewrite[MemberNames::STORE_ID] === (integer) $this->getRowStoreId()) && |
|
300 | + ((integer) $urlRewrite[MemberNames::REDIRECT_TYPE] === 0); |
|
301 | 301 | } |
302 | 302 | |
303 | 303 | /** |