Skip to content

Commit f992f2a

Browse files
committed
Fix static tests
1 parent 13ada4f commit f992f2a

File tree

6 files changed

+10
-7
lines changed

6 files changed

+10
-7
lines changed

app/code/Magento/MediaGalleryCatalogUi/Controller/Adminhtml/Product/GetSelected.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public function __construct(
5353
}
5454

5555
/**
56+
* Return selected products options
5657
*
5758
* @return ResultInterface
5859
*/
@@ -61,7 +62,6 @@ public function execute() : ResultInterface
6162
$productIds = $this->getRequest()->getParam('ids');
6263
$options = [];
6364

64-
6565
if (!is_array($productIds)) {
6666
return $this->resultJsonFactory->create()->setData('parameter ids must be type of array');
6767
}

app/code/Magento/MediaGalleryCmsUi/Controller/Adminhtml/Block/GetSelected.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function __construct(
5252
}
5353

5454
/**
55-
* Execute pages search.
55+
* Return selected blocks options.
5656
*
5757
* @return ResultInterface
5858
*/

app/code/Magento/MediaGalleryCmsUi/Controller/Adminhtml/Page/GetSelected.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function __construct(
5252
}
5353

5454
/**
55-
* Execute pages search.
55+
* Return selected pages options.
5656
*
5757
* @return ResultInterface
5858
*/

app/code/Magento/MediaGalleryCmsUi/composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"php": "~7.3.0||~7.4.0",
66
"magento/framework": "*",
77
"magento/module-cms": "*",
8-
"magento/module-backend": "*",
9-
"magento/module-ui": "*"
8+
"magento/module-backend": "*"
109
},
1110
"type": "magento2-module",
1211
"license": [

app/code/Magento/MediaGalleryUi/Controller/Adminhtml/Asset/GetSelected.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function __construct(
7171
}
7272

7373
/**
74-
* Execute pages search.
74+
* Return selected asset options.
7575
*
7676
* @return ResultInterface
7777
*/

app/code/Magento/Ui/view/base/web/js/grid/filters/elements/ui-select.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ define([
2929

3030
},
3131

32-
/** @inheritdoc */
32+
/**
33+
* Initializes UiSelect component.
34+
*
35+
* @returns {UiSelect} Chainable.
36+
*/
3337
initialize: function () {
3438
this._super();
3539

0 commit comments

Comments
 (0)