Skip to content

Commit f9696c9

Browse files
Sylvain Rayémageprince
Sylvain Rayé
authored andcommitted
Update PathInfoProcessor.php
Prevent PHPCBF Error
1 parent c5d85e0 commit f9696c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Store/App/Request/PathInfoProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function process(\Magento\Framework\App\RequestInterface $request, $pathI
4343
}
4444

4545
if ($store->isUseStoreInUrl()) {
46-
if (!$request->isDirectAccessFrontendName($storeCode) && $storeCode != Store::ADMIN_CODE ) {
46+
if (!$request->isDirectAccessFrontendName($storeCode) && $storeCode != Store::ADMIN_CODE) {
4747
$this->storeManager->setCurrentStore($storeCode);
4848
$pathInfo = '/' . (isset($pathParts[1]) ? $pathParts[1] : '');
4949
return $pathInfo;

0 commit comments

Comments
 (0)