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
2121 protected $ captchaHelper ;
2222
2323 /**
24+ * Refresh constructor.
2425 * @param \Magento\Backend\App\Action\Context $context
25- * @param \Magento\Framework\Serialize\SerializerInterface|null $serializer
2626 * @param \Magento\Captcha\Helper\Data $captchaHelper
27+ * @param \Magento\Framework\Serialize\SerializerInterface|null $serializer
2728 * @throws \RuntimeException
2829 */
2930 public function __construct (
3031 \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
3334 ) {
3435 parent ::__construct ($ context );
3536 $ 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(
4848 CaptchaHelper $ helper ,
4949 SessionManagerInterface $ sessionManager ,
5050 JsonFactory $ resultJsonFactory ,
51- \ Magento \ Framework \ Serialize \ SerializerInterface $ serializer = null ,
52- array $ formIds
51+ array $ formIds ,
52+ \ Magento \ Framework \ Serialize \ SerializerInterface $ serializer = null
5353 ) {
5454 $ this ->helper = $ helper ;
5555 $ this ->sessionManager = $ sessionManager ;
Original file line number Diff line number Diff line change @@ -96,8 +96,8 @@ protected function setUp()
9696 $ this ->captchaHelperMock ,
9797 $ this ->sessionManagerMock ,
9898 $ this ->jsonFactoryMock ,
99- $ this ->serializerMock ,
100- $ this ->formIds
99+ $ this ->formIds ,
100+ $ this ->serializerMock
101101 );
102102 }
103103
You can’t perform that action at this time.
0 commit comments