Completed
Push — add/image-block-detection ( 7f258b...d25c39 )
by Jeremy
08:25
created
class.jetpack-post-images.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -162,6 +162,7 @@  discard block
 block discarded – undo
162 162
 	/**
163 163
 	 * Get attachment images for a specified post and return them. Also make sure
164 164
 	 * their dimensions are at or above a required minimum.
165
+	 * @param integer $post_id
165 166
 	 */
166 167
 	static function from_attachment( $post_id, $width = 200, $height = 200 ) {
167 168
 		$images = array();
@@ -656,7 +657,6 @@  discard block
 block discarded – undo
656 657
 	 * resized and cropped image.
657 658
 	 *
658 659
 	 * @param  string $src
659
-	 * @param  int    $dimension
660 660
 	 * @return string            Transformed image URL
661 661
 	 */
662 662
 	static function fit_image_url( $src, $width, $height ) {
@@ -703,7 +703,7 @@  discard block
 block discarded – undo
703 703
 	 *
704 704
 	 * @param mixed $html_or_id The HTML string to parse for images, or a post id.
705 705
 	 *
706
-	 * @return array $html_info {
706
+	 * @return integer $html_info {
707 707
 	 * @type string $html     Post content.
708 708
 	 * @type string $post_url Post URL.
709 709
 	 * }
Please login to merge, or discard this patch.