[wp-trac] [WordPress Trac] #46852: $_changeset_data has incorrect type annotation in docblock

WordPress Trac noreply at wordpress.org
Tue Apr 9 14:44:36 UTC 2019


#46852: $_changeset_data has incorrect type annotation in docblock
--------------------------+-----------------------------
 Reporter:  diddledan     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------------
 `$_changeset_data` in class `WP_Customize_Manager` defined in `wp_includes
 /class-wp-customize-manager.php` has type annotation in the docblock of
 `array` but the class occasionally assigns a `null` to this variable. The
 attached patch adds `null` to the type annotation in addition to the
 `array` already there.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46852>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list