File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,11 @@ public function __construct(DesignLoader $designLoader)
34
34
* Initiates design before dispatching Backend Actions.
35
35
*
36
36
* @param AbstractAction $backendAction
37
- * @param array $args
38
- * @return array
37
+ * @return void
39
38
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
40
39
*/
41
- public function beforeDispatch (AbstractAction $ backendAction, ... $ args )
40
+ public function beforeDispatch (AbstractAction $ backendAction )
42
41
{
43
42
$ this ->designLoader ->load ();
44
- return $ args ;
45
43
}
46
44
}
Original file line number Diff line number Diff line change 62
62
<type name =" Magento\Backend\App\AbstractAction" >
63
63
<plugin name =" adminAuthentication" type =" Magento\Backend\App\Action\Plugin\Authentication" sortOrder =" 100" />
64
64
<plugin name =" adminMassactionKey" type =" Magento\Backend\App\Action\Plugin\MassactionKey" sortOrder =" 11" />
65
- <plugin name =" adminLoadDesign" type =" Magento\Backend\App\Action\Plugin\LoadDesignPlugin" />
65
+ <plugin name =" adminLoadDesign" type =" Magento\Backend\App\Action\Plugin\LoadDesignPlugin" sortOrder = " 101 " />
66
66
</type >
67
67
<type name =" Magento\Store\App\Response\Redirect" >
68
68
<arguments >
You can’t perform that action at this time.
0 commit comments