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 1010
1111/**
1212 * Class DeleteButton
13+ *
1314 * @package Magento\Customer\Block\Adminhtml\Edit
1415 */
1516class DeleteButton extends GenericButton implements ButtonProviderInterface
@@ -36,6 +37,8 @@ public function __construct(
3637 }
3738
3839 /**
40+ * Get button data.
41+ *
3942 * @return array
4043 */
4144 public function getButtonData ()
@@ -60,6 +63,8 @@ public function getButtonData()
6063 }
6164
6265 /**
66+ * Get delete url.
67+ *
6368 * @return string
6469 */
6570 public function getDeleteUrl ()
Original file line number Diff line number Diff line change 99
1010/**
1111 * Class InvalidateTokenButton
12+ *
1213 * @package Magento\Customer\Block\Adminhtml\Edit
1314 */
1415class InvalidateTokenButton extends GenericButton implements ButtonProviderInterface
1516{
1617 /**
18+ * Get button data.
19+ *
1720 * @return array
1821 */
1922 public function getButtonData ()
@@ -34,6 +37,8 @@ public function getButtonData()
3437 }
3538
3639 /**
40+ * Get invalidate token url.
41+ *
3742 * @return string
3843 */
3944 public function getInvalidateTokenUrl ()
Original file line number Diff line number Diff line change 77
88namespace Magento \Customer \Controller \Adminhtml \Customer ;
99
10+ use Magento \Framework \App \Action \HttpGetActionInterface ;
1011use Magento \Integration \Api \CustomerTokenServiceInterface ;
1112use Magento \Customer \Api \AccountManagementInterface ;
1213use Magento \Customer \Api \AddressRepositoryInterface ;
2526 * @SuppressWarnings(PHPMD.TooManyFields)
2627 * @SuppressWarnings(PHPMD.NumberOfChildren)
2728 */
28- class InvalidateToken extends \Magento \Customer \Controller \Adminhtml \Index
29+ class InvalidateToken extends \Magento \Customer \Controller \Adminhtml \Index implements HttpGetActionInterface
2930{
3031 /**
3132 * Authorization level of a basic admin session
Original file line number Diff line number Diff line change 88use Magento \Framework \App \Action \HttpPostActionInterface as HttpPostActionInterface ;
99use Magento \Framework \Controller \ResultFactory ;
1010
11+ /**
12+ * Delete customer action.
13+ */
1114class Delete extends \Magento \Customer \Controller \Adminhtml \Index implements HttpPostActionInterface
1215{
1316 /**
Original file line number Diff line number Diff line change @@ -47,8 +47,7 @@ public function __construct(
4747 }
4848
4949 /**
50- * @param AbstractCollection $collection
51- * @return \Magento\Backend\Model\View\Result\Redirect
50+ * @inheritdoc
5251 */
5352 protected function massAction (AbstractCollection $ collection )
5453 {
You can’t perform that action at this time.
0 commit comments