Skip to content

Commit 4fd5c95

Browse files
author
Shikha Mishra
authored
updated phpdocs changes
1 parent 25a6c2e commit 4fd5c95

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

app/code/Magento/Backend/Block/Widget/Grid/Massaction/AbstractMassaction.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function __construct(
5252
}
5353

5454
/**
55-
* @return void
55+
* @inheritdoc
5656
*/
5757
protected function _construct()
5858
{
@@ -215,8 +215,9 @@ public function getGridJsObjectName()
215215

216216
/**
217217
* Retrieve JSON string of selected checkboxes
218-
*
218+
*
219219
* @return string
220+
* @SuppressWarnings(PHPMD.RequestAwareBlockMethod)
220221
*/
221222
public function getSelectedJson()
222223
{
@@ -231,6 +232,7 @@ public function getSelectedJson()
231232
* Retrieve array of selected checkboxes
232233
*
233234
* @return string[]
235+
* @SuppressWarnings(PHPMD.RequestAwareBlockMethod)
234236
*/
235237
public function getSelected()
236238
{
@@ -252,6 +254,8 @@ public function getApplyButtonHtml()
252254
}
253255

254256
/**
257+
* Get mass action javascript code.
258+
*
255259
* @return string
256260
*/
257261
public function getJavaScript()
@@ -268,6 +272,8 @@ public function getJavaScript()
268272
}
269273

270274
/**
275+
* Get grid ids in JSON format.
276+
*
271277
* @return string
272278
*/
273279
public function getGridIdsJson()
@@ -287,6 +293,7 @@ public function getGridIdsJson()
287293
$allIdsCollection->getSelect()->limit();
288294
$allIdsCollection->clear();
289295
}
296+
290297
$gridIds = $allIdsCollection->setPageSize(0)->getColumnValues($massActionIdField);
291298
if (!empty($gridIds)) {
292299
return join(",", $gridIds);
@@ -295,6 +302,8 @@ public function getGridIdsJson()
295302
}
296303

297304
/**
305+
* Get Html id.
306+
*
298307
* @return string
299308
*/
300309
public function getHtmlId()

0 commit comments

Comments
 (0)