File tree Expand file tree Collapse file tree 5 files changed +16
-3
lines changed
app/code/Magento/Customer Expand file tree Collapse file tree 5 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 10
10
11
11
/**
12
12
* Class DeleteButton
13
+ *
13
14
* @package Magento\Customer\Block\Adminhtml\Edit
14
15
*/
15
16
class DeleteButton extends GenericButton implements ButtonProviderInterface
@@ -36,6 +37,8 @@ public function __construct(
36
37
}
37
38
38
39
/**
40
+ * Get button data.
41
+ *
39
42
* @return array
40
43
*/
41
44
public function getButtonData ()
@@ -60,6 +63,8 @@ public function getButtonData()
60
63
}
61
64
62
65
/**
66
+ * Get delete url.
67
+ *
63
68
* @return string
64
69
*/
65
70
public function getDeleteUrl ()
Original file line number Diff line number Diff line change 9
9
10
10
/**
11
11
* Class InvalidateTokenButton
12
+ *
12
13
* @package Magento\Customer\Block\Adminhtml\Edit
13
14
*/
14
15
class InvalidateTokenButton extends GenericButton implements ButtonProviderInterface
15
16
{
16
17
/**
18
+ * Get button data.
19
+ *
17
20
* @return array
18
21
*/
19
22
public function getButtonData ()
@@ -34,6 +37,8 @@ public function getButtonData()
34
37
}
35
38
36
39
/**
40
+ * Get invalidate token url.
41
+ *
37
42
* @return string
38
43
*/
39
44
public function getInvalidateTokenUrl ()
Original file line number Diff line number Diff line change 7
7
8
8
namespace Magento \Customer \Controller \Adminhtml \Customer ;
9
9
10
+ use Magento \Framework \App \Action \HttpGetActionInterface ;
10
11
use Magento \Integration \Api \CustomerTokenServiceInterface ;
11
12
use Magento \Customer \Api \AccountManagementInterface ;
12
13
use Magento \Customer \Api \AddressRepositoryInterface ;
25
26
* @SuppressWarnings(PHPMD.TooManyFields)
26
27
* @SuppressWarnings(PHPMD.NumberOfChildren)
27
28
*/
28
- class InvalidateToken extends \Magento \Customer \Controller \Adminhtml \Index
29
+ class InvalidateToken extends \Magento \Customer \Controller \Adminhtml \Index implements HttpGetActionInterface
29
30
{
30
31
/**
31
32
* Authorization level of a basic admin session
Original file line number Diff line number Diff line change 8
8
use Magento \Framework \App \Action \HttpPostActionInterface as HttpPostActionInterface ;
9
9
use Magento \Framework \Controller \ResultFactory ;
10
10
11
+ /**
12
+ * Delete customer action.
13
+ */
11
14
class Delete extends \Magento \Customer \Controller \Adminhtml \Index implements HttpPostActionInterface
12
15
{
13
16
/**
Original file line number Diff line number Diff line change @@ -47,8 +47,7 @@ public function __construct(
47
47
}
48
48
49
49
/**
50
- * @param AbstractCollection $collection
51
- * @return \Magento\Backend\Model\View\Result\Redirect
50
+ * @inheritdoc
52
51
*/
53
52
protected function massAction (AbstractCollection $ collection )
54
53
{
You can’t perform that action at this time.
0 commit comments