From c4201add98e1a3293a63ce3f538f0c6b01a46277 Mon Sep 17 00:00:00 2001 From: Patrick Rauland Date: Fri, 21 Mar 2014 16:41:32 -0500 Subject: [PATCH] fixing typo in product classes --- includes/class-wc-product-external.php | 4 ++-- includes/class-wc-product-grouped.php | 2 +- includes/class-wc-product-variation.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/class-wc-product-external.php b/includes/class-wc-product-external.php index bef2bcf9b2c..3b5423fe398 100644 --- a/includes/class-wc-product-external.php +++ b/includes/class-wc-product-external.php @@ -30,7 +30,7 @@ class WC_Product_External extends WC_Product { * Returns false if the product cannot be bought. * * @access public - * @return cool + * @return bool */ public function is_purchasable() { return apply_filters( 'woocommerce_is_purchasable', false, $this ); @@ -85,4 +85,4 @@ class WC_Product_External extends WC_Product { public function get_button_text() { return $this->button_text ? $this->button_text : __( 'Buy product', 'woocommerce' ); } -} \ No newline at end of file +} diff --git a/includes/class-wc-product-grouped.php b/includes/class-wc-product-grouped.php index e6a2861fdaa..98d84454a2f 100644 --- a/includes/class-wc-product-grouped.php +++ b/includes/class-wc-product-grouped.php @@ -154,7 +154,7 @@ class WC_Product_Grouped extends WC_Product { * Returns false if the product cannot be bought. * * @access public - * @return cool + * @return bool */ public function is_purchasable() { return apply_filters( 'woocommerce_is_purchasable', false, $this ); diff --git a/includes/class-wc-product-variation.php b/includes/class-wc-product-variation.php index aca3141b2f2..d3eafa83984 100644 --- a/includes/class-wc-product-variation.php +++ b/includes/class-wc-product-variation.php @@ -240,7 +240,7 @@ class WC_Product_Variation extends WC_Product { * Returns false if the product cannot be bought. * * @access public - * @return cool + * @return bool */ public function is_purchasable() {