From 583a84b1db245c79bed50789cc0d945f1cc9da40 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 20 Nov 2015 06:15:19 +0000 Subject: [PATCH] Docs: Remove redundant `type` strings from the `wp_calculate_image_srcset` filter DocBlock. Props DH-Shredder, joemcgill. See #34733. git-svn-id: https://develop.svn.wordpress.org/trunk@35716 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index ae5126f058..291d4fc533 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -1080,12 +1080,12 @@ function wp_calculate_image_srcset( $size_array, $image_src, $image_meta, $attac * @param array $sources { * One or more arrays of source data to include in the 'srcset'. * - * @type type array $width { - * @type type string $url The URL of an image source. - * @type type string $descriptor The descriptor type used in the image candidate string, - * either 'w' or 'x'. - * @type type int $value The source width, if paired with a 'w' descriptor or a - * pixel density value if paired with an 'x' descriptor. + * @type array $width { + * @type string $url The URL of an image source. + * @type string $descriptor The descriptor type used in the image candidate string, + * either 'w' or 'x'. + * @type int $value The source width if paired with a 'w' descriptor, or a + * pixel density value if paired with an 'x' descriptor. * } * } * @param array $size_array Array of width and height values in pixels (in that order).