diff --git a/includes/abstracts/abstract-wc-product.php b/includes/abstracts/abstract-wc-product.php index eaf95755136..0713609b25b 100644 --- a/includes/abstracts/abstract-wc-product.php +++ b/includes/abstracts/abstract-wc-product.php @@ -687,7 +687,7 @@ class WC_Product { * Returns false if the product cannot be bought. * * @access public - * @return cool + * @return bool */ public function is_purchasable() { 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() {