Skip to content

Commit c987bbc

Browse files
committed
Confirmation pop-up window for Login as Customer [code style changes]
1 parent 59d3dfa commit c987bbc

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

app/code/Magento/LoginAsCustomerUi/Block/Adminhtml/ConfirmationPopup.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
*/
1818
class ConfirmationPopup extends Template
1919
{
20-
2120
/**
2221
* Store Options
2322
*
@@ -39,25 +38,23 @@ class ConfirmationPopup extends Template
3938
*/
4039
private $json;
4140

42-
4341
/**
4442
* ConfirmationPopup constructor.
4543
* @param Template\Context $context
46-
* @param SystemStore $systemStore
47-
* @param StoreOptions $toreOptions
44+
* @param StoreOptions $storeOptions
4845
* @param ConfigInterface $config
4946
* @param Json $json
5047
* @param array $data
5148
*/
5249
public function __construct(
5350
Template\Context $context,
54-
StoreOptions $toreOptions,
51+
StoreOptions $storeOptions,
5552
ConfigInterface $config,
5653
Json $json,
5754
array $data = []
5855
) {
5956
parent::__construct($context, $data);
60-
$this->storeOptions = $toreOptions;
57+
$this->storeOptions = $storeOptions;
6158
$this->config = $config;
6259
$this->json = $json;
6360
}

app/code/Magento/LoginAsCustomerUi/view/adminhtml/web/css/source/_module.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,4 @@
2828
}
2929
}
3030
}
31-
3231
}

app/code/Magento/LoginAsCustomerUi/view/adminhtml/web/js/confirmation-popup.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ define(
3535
}) + content;
3636
}
3737

38-
3938
window.lacConfirmationPopup = function (url) {
40-
4139
confirm({
4240
title: self.title,
4341
content: content,

0 commit comments

Comments
 (0)