diff --git a/includes/class-wc-product-factory.php b/includes/class-wc-product-factory.php index 8d99e7e5172..8a2241e8772 100644 --- a/includes/class-wc-product-factory.php +++ b/includes/class-wc-product-factory.php @@ -18,7 +18,7 @@ if ( ! defined( 'ABSPATH' ) ) { class WC_Product_Factory { /** - * get_product function. + * Get product. * * @param bool $the_product (default: false) * @param array $args (default: array()) diff --git a/includes/class-wc-product-grouped.php b/includes/class-wc-product-grouped.php index 6a0dbc9ba10..944046ec20e 100644 --- a/includes/class-wc-product-grouped.php +++ b/includes/class-wc-product-grouped.php @@ -21,7 +21,7 @@ class WC_Product_Grouped extends WC_Product { public $children; /** - * __construct function. + * Constructor. * * @access public * @param mixed $product diff --git a/includes/class-wc-product-variable.php b/includes/class-wc-product-variable.php index 63498ae5037..013195e229b 100644 --- a/includes/class-wc-product-variable.php +++ b/includes/class-wc-product-variable.php @@ -148,7 +148,7 @@ class WC_Product_Variable extends WC_Product { } /** - * get_child function. + * Get child product. * * @access public * @param mixed $child_id diff --git a/includes/class-wc-product-variation.php b/includes/class-wc-product-variation.php index c939e2049d7..408698dbfbb 100644 --- a/includes/class-wc-product-variation.php +++ b/includes/class-wc-product-variation.php @@ -471,7 +471,9 @@ class WC_Product_Variation extends WC_Product { } /** - * set_stock_status function. + * Set stock status. + * + * @param string $status */ public function set_stock_status( $status ) { $status = 'outofstock' === $status ? 'outofstock' : 'instock'; @@ -588,7 +590,7 @@ class WC_Product_Variation extends WC_Product { } /** - * is_on_backorder function. + * Is on backorder? * * @param int $qty_in_cart (default: 0) * @return bool