Skip to content

Commit 27dbfa5

Browse files
committed
Make interpret() conform to interface
Change View\Layout\Reader\Remove::interpret() return value to conform with Layout\ReaderInterface::interpret()
1 parent e4b6347 commit 27dbfa5

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)