From 27dbfa566cfa92279488e34608b70c32f2825d0f Mon Sep 17 00:00:00 2001
From: Vinai Kopp <vinai@netzarbeiter.com>
Date: Thu, 8 Jan 2015 15:04:43 +0100
Subject: [PATCH] Make interpret() conform to interface

Change View\Layout\Reader\Remove::interpret() return value to conform
with Layout\ReaderInterface::interpret()
---
 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 3d0a9522e11..3f5cfcce000 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 @@ class Remove implements Layout\ReaderInterface
     {
         $scheduledStructure = $readerContext->getScheduledStructure();
         $scheduledStructure->setElementToRemoveList((string)$currentElement->getAttribute('name'));
-        return false;
+        return $this;
     }
 }
-- 
GitLab