Skip to content

Commit bc9d4ad

Browse files
committed
Merge pull request #908 from Vinai/view-layout-reader-remove
Change interpret() return value to conform with Layout\ReaderInterface
2 parents 80324fb + 27dbfa5 commit bc9d4ad

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/Remove.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ public function interpret(Context $readerContext, Layout\Element $currentElement
3636
{
3737
$scheduledStructure = $readerContext->getScheduledStructure();
3838
$scheduledStructure->setElementToRemoveList((string)$currentElement->getAttribute('name'));
39-
return false;
39+
return $this;
4040
}
4141
}

0 commit comments

Comments
 (0)