WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/11/2019 02:41:15 AM (14 months ago)
Author:
SergeyBiryukov
Message:

Docs: In various @return tags, list the expected type first, instead of WP_Error.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-image-editor-imagick.php

    r46594 r46696  
    461461     *     @type bool $crop   Whether to crop the image to exact dimensions.
    462462     * }
    463      * @return WP_Error|array WP_Error on error, or the image data array for inclusion in the `sizes` array in the image meta.
     463     * @return array|WP_Error The image data array for inclusion in the `sizes` array in the image meta,
     464     *                        WP_Error object on error.
    464465     */
    465466    public function make_subsize( $size_data ) {
Note: See TracChangeset for help on using the changeset viewer.