From 6e52caae2706e9990ed72db8b6b57de6746490c4 Mon Sep 17 00:00:00 2001 From: Vinai Kopp Date: Mon, 5 Jan 2015 15:41:53 +0100 Subject: [PATCH] Change interpret() return value to conform with Layout\ReaderInterface --- lib/internal/Magento/Framework/View/Layout/Reader/Remove.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/Magento/Framework/View/Layout/Reader/Remove.php b/lib/internal/Magento/Framework/View/Layout/Reader/Remove.php index 3d0a9522e1146..3f5cfcce00093 100644 --- a/lib/internal/Magento/Framework/View/Layout/Reader/Remove.php +++ b/lib/internal/Magento/Framework/View/Layout/Reader/Remove.php @@ -36,6 +36,6 @@ public function interpret(Context $readerContext, Layout\Element $currentElement { $scheduledStructure = $readerContext->getScheduledStructure(); $scheduledStructure->setElementToRemoveList((string)$currentElement->getAttribute('name')); - return false; + return $this; } }