Make WordPress Core

Changeset 60198


Ignore:
Timestamp:
04/28/2025 04:35:04 PM (19 months ago)
Author:
SergeyBiryukov
Message:

Docs: Remove redundant @abstract tags from DocBlocks in WP_Image_Editor.

Since the affected methods are already marked as abstract in the function signature, these tags are unnecessary and add no new information.

Follow-up to [22094], [22510], [22619].

Props marian1, narenin, ankitmaru.
Fixes #63356.

File:
1 edited

Legend:

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

    r59855 r60198  
    6767         *
    6868         * @since 3.5.0
    69          * @abstract
    7069         *
    7170         * @return true|WP_Error True if loaded; WP_Error on failure.
    … …  
    7877         * @since 3.5.0
    7978         * @since 6.0.0 The `$filesize` value was added to the returned array.
    80          * @abstract
    8179         *
    8280         * @param string $destfilename Optional. Destination filename. Default null.
    … …  
    103101         *
    104102         * @since 3.5.0
    105          * @abstract
    106103         *
    107104         * @param int|null   $max_w Image width.
    … …  
    123120         *
    124121         * @since 3.5.0
    125          * @abstract
    126122         *
    127123         * @param array $sizes {
    … …  
    142138         *
    143139         * @since 3.5.0
    144          * @abstract
    145140         *
    146141         * @param int  $src_x   The start x position to crop from.
    … …  
    159154         *
    160155         * @since 3.5.0
    161          * @abstract
    162156         *
    163157         * @param float $angle
    … …  
    170164         *
    171165         * @since 3.5.0
    172          * @abstract
    173166         *
    174167         * @param bool $horz Flip along Horizontal Axis
    … …  
    182175         *
    183176         * @since 3.5.0
    184          * @abstract
    185177         *
    186178         * @param string $mime_type The mime type of the image.
Note: See TracChangeset for help on using the changeset viewer.