Merge pull request #20678 from maciekpaprocki/patch-1

Wrong php doc for get_cart_contents()
This commit is contained in:
Claudiu Lodromanean 2018-07-03 10:11:40 -07:00 committed by GitHub
commit 233b839908
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;