Skip to content

Commit

Permalink
Merge pull request #908 from Vinai/view-layout-reader-remove
Browse files Browse the repository at this point in the history
Change interpret() return value to conform with Layout\ReaderInterface
  • Loading branch information
vpelipenko committed Jan 8, 2015
2 parents 80324fb + 27dbfa5 commit bc9d4ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit bc9d4ad

Please sign in to comment.