Make WordPress Core


Ignore:
Timestamp:
11/03/2019 10:21:20 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Fix some incorrect return tags in docblocks.

See #48303

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/image.php

    r46622 r46644  
    245245     *
    246246     * @param int    $threshold     The threshold value in pixels. Default 2560.
    247      * @param array  $imagesize     Indexed array of the image width and height (in that order).
     247     * @param array  $imagesize     {
     248     *     Indexed array of the image width and height in pixels.
     249     *
     250     *     @type int $0 The image width.
     251     *     @type int $0 The image height.
     252     * }
    248253     * @param string $file          Full path to the uploaded image file.
    249254     * @param int    $attachment_id Attachment post ID.
     
    536541         * @since 4.7.0
    537542         *
    538          * @param array $fallback_sizes An array of image size names.
    539          * @param array $metadata       Current attachment metadata.
     543         * @param string[] $fallback_sizes An array of image size names.
     544         * @param array    $metadata       Current attachment metadata.
    540545         */
    541546        $fallback_sizes = apply_filters( 'fallback_intermediate_image_sizes', $fallback_sizes, $metadata );
Note: See TracChangeset for help on using the changeset viewer.