Make WordPress Core

Changeset 30180


Ignore:
Timestamp:
11/03/2014 02:37:55 AM (10 years ago)
Author:
wonderboymusic
Message:

WP_Image_Editor_GD and WP_Image_Editor_Imagick should specify type in a doc block for the $image property, instead of inferring bool and null.

See #30224.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

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

    r29834 r30180  
    1616 */
    1717class WP_Image_Editor_GD extends WP_Image_Editor {
    18 
    19     protected $image = false; // GD Resource
     18    /**
     19     * @var resource
     20     */
     21    protected $image; // GD Resource
    2022
    2123    public function __destruct() {
  • trunk/src/wp-includes/class-wp-image-editor-imagick.php

    r29834 r30180  
    1616 */
    1717class WP_Image_Editor_Imagick extends WP_Image_Editor {
    18 
    19     protected $image = null; // Imagick Object
     18    /**
     19     * @var Imagick
     20     */
     21    protected $image; // Imagick Object
    2022
    2123    public function __destruct() {
Note: See TracChangeset for help on using the changeset viewer.