File tree Expand file tree Collapse file tree 7 files changed +12
-6
lines changed Expand file tree Collapse file tree 7 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ class Edit extends \Magento\Cms\Controller\Adminhtml\Block
21
21
/**
22
22
* @param \Magento\Backend\App\Action\Context $context
23
23
* @param \Magento\Framework\Registry $coreRegistry
24
+ * @param \Magento\Backend\Model\View\Result\RedirectFactory $resultRedirectFactory
25
+ * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
24
26
*/
25
27
public function __construct (
26
28
\Magento \Backend \App \Action \Context $ context ,
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ class Delete extends \Magento\Backend\App\Action
21
21
*/
22
22
public function __construct (
23
23
Action \Context $ context ,
24
- \Magento \Backend \Model \View \Result \RedirectFactory $ resultRedirectFactory)
25
- {
24
+ \Magento \Backend \Model \View \Result \RedirectFactory $ resultRedirectFactory
25
+ ) {
26
26
$ this ->resultRedirectFactory = $ resultRedirectFactory ;
27
27
parent ::__construct ($ context );
28
28
}
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public function execute()
51
51
$ resultPage = $ this ->resultPageFactory ->create ();
52
52
$ resultPage ->setActiveMenu ('Magento_Cms::cms_page ' );
53
53
$ resultPage ->addBreadcrumb (__ ('CMS ' ), __ ('CMS ' ));
54
- $ resultPage ->addBreadcrumb (__ ('Manage Pages ' ),__ ('Manage Pages ' ));
54
+ $ resultPage ->addBreadcrumb (__ ('Manage Pages ' ), __ ('Manage Pages ' ));
55
55
$ resultPage ->getConfig ()->getTitle ()->prepend (__ ('Pages ' ));
56
56
57
57
return $ resultPage ;
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ class Save extends \Magento\Backend\App\Action
29
29
public function __construct (
30
30
Action \Context $ context ,
31
31
PostDataProcessor $ dataProcessor ,
32
- RedirectFactory $ resultRedirectFactory)
33
- {
32
+ RedirectFactory $ resultRedirectFactory
33
+ ) {
34
34
$ this ->dataProcessor = $ dataProcessor ;
35
35
$ this ->resultRedirectFactory = $ resultRedirectFactory ;
36
36
parent ::__construct ($ context );
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ class DefaultNoCookies extends \Magento\Framework\App\Action\Action
15
15
16
16
/**
17
17
* @param \Magento\Backend\App\Action\Context $context
18
+ * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory
18
19
*/
19
20
public function __construct (
20
21
\Magento \Backend \App \Action \Context $ context ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class DefaultNoRoute extends \Magento\Framework\App\Action\Action
17
17
18
18
/**
19
19
* @param \Magento\Backend\App\Action\Context $context
20
- * @param \Magento\Framework\View\Result\LayoutFactory
20
+ * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory
21
21
*/
22
22
public function __construct (
23
23
\Magento \Backend \App \Action \Context $ context ,
Original file line number Diff line number Diff line change 7
7
8
8
use Magento \Framework \App \Action \Action ;
9
9
10
+ /**
11
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
12
+ */
10
13
/**
11
14
* CMS Page Helper
12
15
*/
You can’t perform that action at this time.
0 commit comments