Skip to content

Commit 0b496d6

Browse files
committed
Removed setting routerlist twice.
Removed line, because $this->routerList is always set by the function below the line removed. Setting the routerList was always called twice, so removed one line to fix this.
1 parent bd1655b commit 0b496d6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/internal/Magento/Framework/App/RouterList.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class RouterList implements RouterListInterface
2929
public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, array $routerList)
3030
{
3131
$this->objectManager = $objectManager;
32-
$this->routerList = $routerList;
3332
$this->routerList = array_filter(
3433
$routerList,
3534
function ($item) {

0 commit comments

Comments
 (0)