Skip to content

Commit 42bc878

Browse files
committed
Merge pull request #905 from Vinai/view-layout-reader-container
Change interpret() return value to conform with Layout\ReaderInterface (MAGETWO-32404)
2 parents 7593a65 + 7328877 commit 42bc878

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/Magento/Framework/View/Layout/Reader/Container.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ public function interpret(Context $readerContext, Layout\Element $currentElement
8686
default:
8787
break;
8888
}
89-
return $this->readerPool->interpret($readerContext, $currentElement);
89+
$this->readerPool->interpret($readerContext, $currentElement);
90+
return $this;
9091
}
9192

9293
/**

0 commit comments

Comments
 (0)