Skip to content

Commit 46a0380

Browse files
committed
Fix static analysis
1 parent 611ceb4 commit 46a0380

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Backend/App/Action/Plugin/LoadDesignPlugin.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
namespace Magento\Backend\App\Action\Plugin;
99

1010
use Magento\Backend\App\AbstractAction;
11+
use Magento\Framework\App\RequestInterface;
1112
use Magento\Framework\View\DesignLoader;
1213

1314
/**
@@ -34,10 +35,11 @@ public function __construct(DesignLoader $designLoader)
3435
* Initiates design before dispatching Backend Actions.
3536
*
3637
* @param AbstractAction $backendAction
38+
* @param RequestInterface $request
3739
* @return void
3840
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
3941
*/
40-
public function beforeDispatch(AbstractAction $backendAction)
42+
public function beforeDispatch(AbstractAction $backendAction, RequestInterface $request)
4143
{
4244
$this->designLoader->load();
4345
}

0 commit comments

Comments
 (0)