Opened 7 years ago
Closed 7 years ago
#46856 closed defect (bug) (fixed)
Incorrect type docblock annotations for some variables in wp-includes/class-wp-customize-widgets.php
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 5.3 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Customize | Keywords: | has-patch |
| Focuses: | docs | Cc: |
Description
The type annotation for $context_sidebar_instance_number is set to int.
The type annotations for $rendering_widget_id and $rendering_sidebar_id are set to string.
Each of these are sometimes assigned null. The attached patch fixes their respective docblock type annotations to also include null.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
patch to change type annotations in docblock for specific variables to also include null