File tree Expand file tree Collapse file tree 4 files changed +16
-12
lines changed
Backup/Controller/Adminhtml/Index
CatalogSearch/Controller/Advanced
User/Controller/Adminhtml/User/Role Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Original file line number Diff line number Diff line change 66 */
77namespace Magento \Backup \Controller \Adminhtml \Index ;
88
9+ use Magento \Framework \Controller \ResultFactory ;
10+
911class Grid extends \Magento \Backup \Controller \Adminhtml \Index
1012{
1113 /**
1214 * Backup list action
1315 *
14- * @return void
16+ * @return \Magento\Framework\Controller\ResultInterface
1517 */
1618 public function execute ()
1719 {
18- $ this ->_view ->loadLayout ();
19- $ this ->_view ->renderLayout ();
20+ return $ this ->resultFactory ->create (ResultFactory::TYPE_PAGE );
2021 }
2122}
Original file line number Diff line number Diff line change 66 */
77namespace Magento \CatalogSearch \Controller \Advanced ;
88
9+ use Magento \Framework \Controller \ResultFactory ;
10+
911class Index extends \Magento \Framework \App \Action \Action
1012{
1113 /**
12- * @return void
14+ * @return \Magento\Framework\Controller\ResultInterface
1315 */
1416 public function execute ()
1517 {
16- $ this ->_view ->loadLayout ();
17- $ this ->_view ->renderLayout ();
18+ return $ this ->resultFactory ->create (ResultFactory::TYPE_PAGE );
1819 }
1920}
Original file line number Diff line number Diff line change 66 */
77namespace Magento \Contact \Controller \Index ;
88
9+ use Magento \Framework \Controller \ResultFactory ;
10+
911class Index extends \Magento \Contact \Controller \Index
1012{
1113 /**
1214 * Show Contact Us page
1315 *
14- * @return void
16+ * @return \Magento\Framework\Controller\ResultInterface
1517 */
1618 public function execute ()
1719 {
18- $ this ->_view ->loadLayout ();
19- $ this ->_view ->renderLayout ();
20+ return $ this ->resultFactory ->create (ResultFactory::TYPE_PAGE );
2021 }
2122}
Original file line number Diff line number Diff line change 66 */
77namespace Magento \User \Controller \Adminhtml \User \Role ;
88
9+ use Magento \Framework \Controller \ResultFactory ;
10+
911class Editrolegrid extends \Magento \User \Controller \Adminhtml \User \Role
1012{
1113 /**
1214 * Action for ajax request from assigned users grid
1315 *
14- * @return void
16+ * @return \Magento\Framework\Controller\ResultInterface
1517 */
1618 public function execute ()
1719 {
18- $ this ->_view ->loadLayout ();
19- $ this ->_view ->renderLayout ();
20+ return $ this ->resultFactory ->create (ResultFactory::TYPE_PAGE );
2021 }
2122}
You can’t perform that action at this time.
0 commit comments