Skip to content

Commit

Permalink
ENGCOM-2043: [Forwardport] Correct return type of methods and typo co…
Browse files Browse the repository at this point in the history
…rrection. #16224
  • Loading branch information
Stanislav Idolov authored Jun 21, 2018
2 parents e57d347 + c8e7c0c commit e35df97
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function __construct(Context $context, Registry $coreRegistry)
/**
* Initialize category object in registry
*
* @return Category
* @return Category|bool
*/
protected function _initCategory()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function processAttributeValue($attribute, $value)
*
* @param array $index
* @param string $separator
* @return string
* @return array
*/
public function prepareEntityIndex($index, $separator = ' ')
{
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/UrlRewrite/Service/V1/Data/UrlRewrite.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function getUrlRewriteId()

/**
* @param int $urlRewriteId
* @return int
* @return $this
*/
public function setUrlRewriteId($urlRewriteId)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function getAdminPasswordLifetime()
}

/**
* Get admin maxiumum security failures from config
* Get admin maximum security failures from config
*
* @return int
*/
Expand Down

0 comments on commit e35df97

Please sign in to comment.