Skip to content

Commit 4114be5

Browse files
committed
MAGETWO-33061: Fix annotations of the methods that return __()
1 parent bc1c40b commit 4114be5

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

app/code/Magento/Catalog/Block/Adminhtml/Category/Edit/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public function getTabsHtml()
237237
}
238238

239239
/**
240-
* @return \Magento\Framework\Phrase
240+
* @return \Magento\Framework\Phrase|string
241241
*/
242242
public function getHeader()
243243
{

app/code/Magento/Catalog/Block/Adminhtml/Form/Renderer/Config/YearRange.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class YearRange extends Field
1818
{
1919
/**
2020
* @param AbstractElement $element
21-
* @return \Magento\Framework\Phrase
21+
* @return string
2222
*/
2323
protected function _getElementHtml(AbstractElement $element)
2424
{

app/code/Magento/Catalog/Model/Layer/Filter/Price.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public function getResetValue()
210210
/**
211211
* Get 'clear price' link text
212212
*
213-
* @return \Magento\Framework\Phrase
213+
* @return \Magento\Framework\Phrase|bool
214214
*/
215215
public function getClearLinkText()
216216
{

app/code/Magento/Centinel/Helper/Data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function getCmpiValue($fieldName, $value)
6464
* Return text value for cmpi eci flag field
6565
*
6666
* @param string $value
67-
* @return \Magento\Framework\Phrase
67+
* @return \Magento\Framework\Phrase|string
6868
*/
6969
private function _getCmpiEciValue($value)
7070
{

app/code/Magento/DesignEditor/Block/Adminhtml/Editor/Tools/Files/Content.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Content extends \Magento\Theme\Block\Adminhtml\Wysiwyg\Files\Content
1515
/**
1616
* Get header text
1717
*
18-
* @return \Magento\Framework\Phrase
18+
* @return string
1919
*/
2020
public function getHeaderText()
2121
{

app/code/Magento/DesignEditor/Block/Adminhtml/Editor/Tools/Files/Tree.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Tree extends \Magento\Theme\Block\Adminhtml\Wysiwyg\Files\Tree
1414
/**
1515
* Override root node name of tree specific to design editor.
1616
*
17-
* @return \Magento\Framework\Phrase
17+
* @return string
1818
*/
1919
public function getRootNodeName()
2020
{

app/code/Magento/Shipping/Block/Adminhtml/Order/Tracking/View.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function getRemoveUrl($track)
8585

8686
/**
8787
* @param string $code
88-
* @return \Magento\Framework\Phrase|bool
88+
* @return \Magento\Framework\Phrase|string|bool
8989
*/
9090
public function getCarrierTitle($code)
9191
{

0 commit comments

Comments
 (0)