diff --git a/app/code/Magento/Paypal/Controller/Billing/Agreement/Index.php b/app/code/Magento/Paypal/Controller/Billing/Agreement/Index.php index c086efd54166d..797c7d7a8f4fe 100644 --- a/app/code/Magento/Paypal/Controller/Billing/Agreement/Index.php +++ b/app/code/Magento/Paypal/Controller/Billing/Agreement/Index.php @@ -6,7 +6,12 @@ */ namespace Magento\Paypal\Controller\Billing\Agreement; -class Index extends \Magento\Paypal\Controller\Billing\Agreement +use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface; + +/** + * Index Controller. + */ +class Index extends \Magento\Paypal\Controller\Billing\Agreement implements HttpGetActionInterface { /** * View billing agreements @@ -16,7 +21,7 @@ class Index extends \Magento\Paypal\Controller\Billing\Agreement public function execute() { $this->_view->loadLayout(); - $this->_view->getPage()->getConfig()->getTitle()->prepend(__('Billing Agreements')); + $this->_view->getPage()->getConfig()->getTitle()->set(__('Billing Agreements')); $this->_view->renderLayout(); } }