Skip to content

Commit

Permalink
Changed return type of addToCartPostParams to array
Browse files Browse the repository at this point in the history
\Magento\Catalog\Block\Product\ListProduct::getAddToCartPostParams incorrectly defined a string return type when in fact it's an array
  • Loading branch information
LordZardeck authored and adrian-martinez-interactiv4 committed May 8, 2018
1 parent a53347e commit a132f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Catalog/Block/Product/ListProduct.php
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ public function getIdentities()
* Get post parameters
*
* @param Product $product
* @return string
* @return array
*/
public function getAddToCartPostParams(Product $product)
{
Expand Down

0 comments on commit a132f54

Please sign in to comment.