File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
Controller/Adminhtml/Refresh
Test/Unit/Model/Customer/Plugin Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,16 @@ class Refresh extends \Magento\Backend\App\Action
21
21
protected $ captchaHelper ;
22
22
23
23
/**
24
+ * Refresh constructor.
24
25
* @param \Magento\Backend\App\Action\Context $context
25
- * @param \Magento\Framework\Serialize\SerializerInterface|null $serializer
26
26
* @param \Magento\Captcha\Helper\Data $captchaHelper
27
+ * @param \Magento\Framework\Serialize\SerializerInterface|null $serializer
27
28
* @throws \RuntimeException
28
29
*/
29
30
public function __construct (
30
31
\Magento \Backend \App \Action \Context $ context ,
31
- \Magento \Framework \ Serialize \ SerializerInterface $ serializer = null ,
32
- \Magento \Captcha \ Helper \ Data $ captchaHelper
32
+ \Magento \Captcha \ Helper \ Data $ captchaHelper ,
33
+ \Magento \Framework \ Serialize \ SerializerInterface $ serializer = null
33
34
) {
34
35
parent ::__construct ($ context );
35
36
$ this ->serializer = $ serializer ?: \Magento \Framework \App \ObjectManager::getInstance ()
Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ public function __construct(
48
48
CaptchaHelper $ helper ,
49
49
SessionManagerInterface $ sessionManager ,
50
50
JsonFactory $ resultJsonFactory ,
51
- \ Magento \ Framework \ Serialize \ SerializerInterface $ serializer = null ,
52
- array $ formIds
51
+ array $ formIds ,
52
+ \ Magento \ Framework \ Serialize \ SerializerInterface $ serializer = null
53
53
) {
54
54
$ this ->helper = $ helper ;
55
55
$ this ->sessionManager = $ sessionManager ;
Original file line number Diff line number Diff line change @@ -96,8 +96,8 @@ protected function setUp()
96
96
$ this ->captchaHelperMock ,
97
97
$ this ->sessionManagerMock ,
98
98
$ this ->jsonFactoryMock ,
99
- $ this ->serializerMock ,
100
- $ this ->formIds
99
+ $ this ->formIds ,
100
+ $ this ->serializerMock
101
101
);
102
102
}
103
103
You can’t perform that action at this time.
0 commit comments