@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | * Update the media post grabbing the post values from |
30 | 30 | * the `attrs` parameter |
31 | 31 | * |
32 | - * @param {Number} $media_id - post media ID |
|
32 | + * @param integer $media_id - post media ID |
|
33 | 33 | * @param {Object} $attrs - `attrs` parameter sent from the client in the request body |
34 | 34 | * @return |
35 | 35 | */ |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | * Save the given temporal file in a local folder. |
131 | 131 | * |
132 | 132 | * @param {Array} $file_array |
133 | - * @param {Number} $media_id |
|
133 | + * @param integer $media_id |
|
134 | 134 | * @return {Array|WP_Error} An array with information about the new file saved or a WP_Error is something went wrong. |
135 | 135 | */ |
136 | 136 | private function save_temporary_file( $file_array, $media_id ) { |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | /** |
206 | 206 | * Get the image from a remote url and then save it locally. |
207 | 207 | * |
208 | - * @param {Number} $media_id - media post ID |
|
208 | + * @param integer $media_id - media post ID |
|
209 | 209 | * @param {String} $url - image URL to save locally |
210 | 210 | * @return {Array|WP_Error} An array with information about the new file saved or a WP_Error is something went wrong. |
211 | 211 | */ |