Make WordPress Core

Ticket #34733: 34733.2.diff

File 34733.2.diff, 1.3 KB (added by joemcgill, 9 years ago)

Remove redundant 'type' indicators from docblocs

  • src/wp-includes/media.php

    diff --git src/wp-includes/media.php src/wp-includes/media.php
    index 887cc7e..49ee901 100644
    function wp_calculate_image_srcset( $size_array, $image_src, $image_meta, $attac 
    10781078         * @param array  $sources {
    10791079         *     One or more arrays of source data to include in the 'srcset'.
    10801080         *
    1081          *     @type type array $width {
    1082          *          @type type string $url        The URL of an image source.
    1083          *          @type type string $descriptor The descriptor type used in the image candidate string,
    1084          *                                        either 'w' or 'x'.
    1085          *          @type type int    $value      The source width, if paired with a 'w' descriptor or a
    1086          *                                        pixel density value if paired with an 'x' descriptor.
     1081         *     @type array $width {
     1082         *         @type string $url        The URL of an image source.
     1083         *         @type string $descriptor The descriptor type used in the image candidate string,
     1084         *                                  either 'w' or 'x'.
     1085         *         @type int    $value      The source width if paired with a 'w' descriptor, or a
     1086         *                                  pixel density value if paired with an 'x' descriptor.
    10871087         *     }
    10881088         * }
    10891089         * @param array  $size_array    Array of width and height values in pixels (in that order).