Skip to content

Commit b5b95b8

Browse files
committed
Correct argument order
1 parent 6e4aade commit b5b95b8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

TwoFactorAuth/Plugin/BypassTwoFactorAuthForTestFramework.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
namespace Magento\TwoFactorAuth\Plugin;
1010

11+
use Closure;
1112
use Magento\Backend\App\AbstractAction;
1213
use Magento\Framework\Event\Observer;
1314
use Magento\TestFramework\Request;
@@ -20,8 +21,8 @@ class BypassTwoFactorAuthForTestFramework
2021
{
2122
public function aroundExecute(
2223
ControllerActionPredispatch $subject,
23-
Observer $observer,
24-
callable $proceed
24+
Closure $proceed,
25+
Observer $observer
2526
) : void {
2627
/** @var $controllerAction AbstractAction */
2728
$controllerAction = $observer->getEvent()->getData('controller_action');

0 commit comments

Comments
 (0)