From a132f549d683cc9053f91ab80935b16bc27237d5 Mon Sep 17 00:00:00 2001 From: Sean Templeton Date: Thu, 26 Apr 2018 13:01:36 -0500 Subject: [PATCH] Changed return type of addToCartPostParams to array \Magento\Catalog\Block\Product\ListProduct::getAddToCartPostParams incorrectly defined a string return type when in fact it's an array --- app/code/Magento/Catalog/Block/Product/ListProduct.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Catalog/Block/Product/ListProduct.php b/app/code/Magento/Catalog/Block/Product/ListProduct.php index ee63d3400ade5..c1b255c762dbb 100644 --- a/app/code/Magento/Catalog/Block/Product/ListProduct.php +++ b/app/code/Magento/Catalog/Block/Product/ListProduct.php @@ -356,7 +356,7 @@ public function getIdentities() * Get post parameters * * @param Product $product - * @return string + * @return array */ public function getAddToCartPostParams(Product $product) {