Skip to content

Commit 5f43125

Browse files
author
Stanislav Idolov
authored
ENGCOM-2458: Correct return type of methods #16988
2 parents 5cf69d2 + cef98cd commit 5f43125

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/code/Magento/Catalog/Controller/Category/View.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function __construct(
111111
/**
112112
* Initialize requested category object
113113
*
114-
* @return \Magento\Catalog\Model\Category
114+
* @return \Magento\Catalog\Model\Category|bool
115115
*/
116116
protected function _initCategory()
117117
{

app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/DataProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ private function getProductEmulator($typeId)
532532
* @param array $indexData
533533
* @param array $productData
534534
* @param int $storeId
535-
* @return string
535+
* @return array
536536
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
537537
* @since 100.0.3
538538
*/

app/code/Magento/CatalogSearch/Model/ResourceModel/EngineInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function processAttributeValue($attribute, $value);
5555
*
5656
* @param array $index
5757
* @param string $separator
58-
* @return string
58+
* @return array
5959
*/
6060
public function prepareEntityIndex($index, $separator = ' ');
6161
}

0 commit comments

Comments
 (0)