Skip to content

Commit 80324fb

Browse files
committed
Merge pull request #907 from Vinai/view-layout-reader-move
Change interpret() return value to conform with Layout\ReaderInterface (MAGETWO-32404)
2 parents 42bc878 + f11b167 commit 80324fb

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/View/Layout/Reader

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function getSupportedNodes()
3434
public function interpret(Context $readerContext, Layout\Element $currentElement)
3535
{
3636
$this->scheduleMove($readerContext->getScheduledStructure(), $currentElement);
37-
return false;
37+
return $this;
3838
}
3939

4040
/**

0 commit comments

Comments
 (0)