diff --git a/woocommerce-core-functions.php b/woocommerce-core-functions.php index 7d0a1bbd5d9..4c27d659f23 100644 --- a/woocommerce-core-functions.php +++ b/woocommerce-core-functions.php @@ -25,7 +25,7 @@ add_filter( 'woocommerce_stock_amount', 'intval' ); // Stock amounts are integer * @access public * @param mixed $the_product Post object or post ID of the product. * @param array $args (default: array()) Contains all arguments to be used to get this product. - * @return WC_Product_Simple + * @return WC_Product */ function get_product( $the_product = false, $args = array() ) { global $woocommerce;