Skip to content

Commit bbbc9fe

Browse files
author
Oleksii Korshenko
committed
MAGETWO-70391: Return URL in getThumbnailUrl instead of nothing #10106
- fixed method annotations
1 parent dd34113 commit bbbc9fe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/code/Magento/Catalog/Helper/Product.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,7 @@ public function getSmallImageUrl($product)
251251
* Retrieve thumbnail image url
252252
*
253253
* @param ModelProduct|\Magento\Framework\DataObject $product
254-
* @return string
255-
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
254+
* @return string|bool
256255
*/
257256
public function getThumbnailUrl($product)
258257
{

0 commit comments

Comments
 (0)