Correct docblock for method set_product_image_as_attachment

This commit is contained in:
Duoc Nguyen 2016-06-09 16:50:58 +07:00
parent 06a4af5aa0
commit 36ccb0212e
3 changed files with 5 additions and 5 deletions

View File

@ -1834,10 +1834,10 @@ class WC_API_Products extends WC_API_Resource {
}
/**
* Get product image as attachment
* Sets product image as attachment and returns the attachment ID.
*
* @since 2.2
* @param integer $upload
* @param array $upload
* @param int $id
* @return int
*/

View File

@ -2395,7 +2395,7 @@ class WC_API_Products extends WC_API_Resource {
* Sets product image as attachment and returns the attachment ID.
*
* @since 2.2
* @param integer $upload
* @param array $upload
* @param int $id
* @return int
*/

View File

@ -2057,10 +2057,10 @@ class WC_CLI_Product extends WC_CLI_Command {
}
/**
* Get product image as attachment
* Sets product image as attachment and returns the attachment ID.
*
* @since 2.5.0
* @param int $upload
* @param array $upload
* @param int $id
* @return int
*/