Skip to content

Commit d75f71b

Browse files
ENGCOM-1496: [Backport] Changed return type of addToCartPostParams to array #15093
- Merge Pull Request #15093 from rogyar/magento2:2.1-product-list-return-hint-fix - Merged commits: 1. 7104b91
2 parents ed4b97e + 7104b91 commit d75f71b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Block/Product/ListProduct.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ public function getIdentities()
340340
* Get post parameters
341341
*
342342
* @param \Magento\Catalog\Model\Product $product
343-
* @return string
343+
* @return array
344344
*/
345345
public function getAddToCartPostParams(\Magento\Catalog\Model\Product $product)
346346
{

0 commit comments

Comments
 (0)