Skip to content

Commit fb2c434

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

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public function getClearLinkText()
227227
*
228228
* @param float|string $fromPrice
229229
* @param float|string $toPrice
230-
* @return \Magento\Framework\Phrase
230+
* @return float|\Magento\Framework\Phrase
231231
*/
232232
protected function _renderRangeLabel($fromPrice, $toPrice)
233233
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function __construct(
4949
*
5050
* @param float|string $fromPrice
5151
* @param float|string $toPrice
52-
* @return \Magento\Framework\Phrase
52+
* @return float|\Magento\Framework\Phrase
5353
*/
5454
public function renderRangeLabel($fromPrice, $toPrice)
5555
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public function getCurrencyRate()
171171
*
172172
* @param float|string $fromPrice
173173
* @param float|string $toPrice
174-
* @return \Magento\Framework\Phrase|string
174+
* @return float|\Magento\Framework\Phrase|string
175175
*/
176176
protected function _renderRangeLabel($fromPrice, $toPrice)
177177
{

app/code/Magento/Downloadable/Block/Customer/Products/ListProducts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function getBackUrl()
136136
* Return number of left downloads or unlimited
137137
*
138138
* @param Item $item
139-
* @return \Magento\Framework\Phrase|string
139+
* @return \Magento\Framework\Phrase|int
140140
*/
141141
public function getRemainingDownloads($item)
142142
{

0 commit comments

Comments
 (0)