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 6
6
*/
7
7
namespace Magento \Backup \Controller \Adminhtml \Index ;
8
8
9
+ use Magento \Framework \Controller \ResultFactory ;
10
+
9
11
class Grid extends \Magento \Backup \Controller \Adminhtml \Index
10
12
{
11
13
/**
12
14
* Backup list action
13
15
*
14
- * @return void
16
+ * @return \Magento\Framework\Controller\ResultInterface
15
17
*/
16
18
public function execute ()
17
19
{
18
- $ this ->_view ->loadLayout ();
19
- $ this ->_view ->renderLayout ();
20
+ return $ this ->resultFactory ->create (ResultFactory::TYPE_PAGE );
20
21
}
21
22
}
Original file line number Diff line number Diff line change 6
6
*/
7
7
namespace Magento \CatalogSearch \Controller \Advanced ;
8
8
9
+ use Magento \Framework \Controller \ResultFactory ;
10
+
9
11
class Index extends \Magento \Framework \App \Action \Action
10
12
{
11
13
/**
12
- * @return void
14
+ * @return \Magento\Framework\Controller\ResultInterface
13
15
*/
14
16
public function execute ()
15
17
{
16
- $ this ->_view ->loadLayout ();
17
- $ this ->_view ->renderLayout ();
18
+ return $ this ->resultFactory ->create (ResultFactory::TYPE_PAGE );
18
19
}
19
20
}
Original file line number Diff line number Diff line change 6
6
*/
7
7
namespace Magento \Contact \Controller \Index ;
8
8
9
+ use Magento \Framework \Controller \ResultFactory ;
10
+
9
11
class Index extends \Magento \Contact \Controller \Index
10
12
{
11
13
/**
12
14
* Show Contact Us page
13
15
*
14
- * @return void
16
+ * @return \Magento\Framework\Controller\ResultInterface
15
17
*/
16
18
public function execute ()
17
19
{
18
- $ this ->_view ->loadLayout ();
19
- $ this ->_view ->renderLayout ();
20
+ return $ this ->resultFactory ->create (ResultFactory::TYPE_PAGE );
20
21
}
21
22
}
Original file line number Diff line number Diff line change 6
6
*/
7
7
namespace Magento \User \Controller \Adminhtml \User \Role ;
8
8
9
+ use Magento \Framework \Controller \ResultFactory ;
10
+
9
11
class Editrolegrid extends \Magento \User \Controller \Adminhtml \User \Role
10
12
{
11
13
/**
12
14
* Action for ajax request from assigned users grid
13
15
*
14
- * @return void
16
+ * @return \Magento\Framework\Controller\ResultInterface
15
17
*/
16
18
public function execute ()
17
19
{
18
- $ this ->_view ->loadLayout ();
19
- $ this ->_view ->renderLayout ();
20
+ return $ this ->resultFactory ->create (ResultFactory::TYPE_PAGE );
20
21
}
21
22
}
You can’t perform that action at this time.
0 commit comments