From 59d43a25f7bcb58a9c2f1012200ac11bd80286b2 Mon Sep 17 00:00:00 2001 From: jprieton Date: Mon, 1 Jul 2013 17:18:07 -0430 Subject: [PATCH] Update proposal hint on documentation of function get_product() Update proposal hint on documentation of function `WC_Product_Factory::get_product()` from `void` to an generic `WC_Product` --- includes/class-wc-product-factory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/class-wc-product-factory.php b/includes/class-wc-product-factory.php index 195c7b4602a..c4999c8ce47 100644 --- a/includes/class-wc-product-factory.php +++ b/includes/class-wc-product-factory.php @@ -19,7 +19,7 @@ class WC_Product_Factory { * @access public * @param bool $the_product (default: false) * @param array $args (default: array()) - * @return WC_Product_Simple + * @return WC_Product */ public function get_product( $the_product = false, $args = array() ) { global $post; @@ -61,4 +61,4 @@ class WC_Product_Factory { return new $classname( $the_product, $args ); } -} \ No newline at end of file +}