Skip to content

Commit b239212

Browse files
author
Stanislav Idolov
authored
ENGCOM-2190: Correct return type of methods and typo correction #16547
2 parents 633c9ef + 00c0a6f commit b239212

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Widget/CategoriesJson.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __construct(Context $context, Registry $coreRegistry)
3232
/**
3333
* Initialize category object in registry
3434
*
35-
* @return Category
35+
* @return Category|bool
3636
*/
3737
protected function _initCategory()
3838
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function processAttributeValue($attribute, $value)
102102
*
103103
* @param array $index
104104
* @param string $separator
105-
* @return string
105+
* @return array
106106
*/
107107
public function prepareEntityIndex($index, $separator = ' ')
108108
{

app/code/Magento/UrlRewrite/Service/V1/Data/UrlRewrite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function getUrlRewriteId()
5858

5959
/**
6060
* @param int $urlRewriteId
61-
* @return int
61+
* @return $this
6262
*/
6363
public function setUrlRewriteId($urlRewriteId)
6464
{

0 commit comments

Comments
 (0)