#46853 closed defect (bug) (fixed)
Incorrect type docblock annotation for $value in wp-includes/customize/class-wp-customize-nav-menu-item-setting.php
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Customize | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
$value
is defined as an array type according to the docblock but occasionally might be assigned a null
value. The attached patch fixes the docblock to also state that null
is allowed.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
patch to change type annotation in docblock from array to array|null