Merge pull request #20678 from maciekpaprocki/patch-1
Wrong php doc for get_cart_contents()
This commit is contained in:
commit
233b839908
|
@ -140,7 +140,7 @@ class WC_Cart extends WC_Legacy_Cart {
|
||||||
* Gets cart contents.
|
* Gets cart contents.
|
||||||
*
|
*
|
||||||
* @since 3.2.0
|
* @since 3.2.0
|
||||||
* @return array of applied coupons
|
* @return array of cart items
|
||||||
*/
|
*/
|
||||||
public function get_cart_contents() {
|
public function get_cart_contents() {
|
||||||
return (array) $this->cart_contents;
|
return (array) $this->cart_contents;
|
||||||
|
|
Loading…
Reference in New Issue