Completed
Push — wpcom/json-endpoints-2017-01-1... ( 0d8b79...ae0b09 )
by
unknown
39:12 queued 30:17
created
json-endpoints/class.wpcom-json-api-edit-media-v1-2-endpoint.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 	 */
Please login to merge, or discard this patch.