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`
This commit is contained in:
jprieton 2013-07-01 17:18:07 -04:30
parent 18f86a910d
commit 59d43a25f7
1 changed files with 2 additions and 2 deletions

View File

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