From db403b2805bed8497147b92a5e56fa52a2818153 Mon Sep 17 00:00:00 2001 From: maciekpaprocki Date: Sun, 1 Jul 2018 18:12:04 +0100 Subject: [PATCH] Wrong php doc for get_cart_contents() --- includes/class-wc-cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wc-cart.php b/includes/class-wc-cart.php index 293dcf772ec..ae5f00e5aaf 100644 --- a/includes/class-wc-cart.php +++ b/includes/class-wc-cart.php @@ -140,7 +140,7 @@ class WC_Cart extends WC_Legacy_Cart { * Gets cart contents. * * @since 3.2.0 - * @return array of applied coupons + * @return array of cart items */ public function get_cart_contents() { return (array) $this->cart_contents;