[wp-trac] [WordPress Trac] #64700: Code Modernization: Replace void in PHPDoc union return types with null in general-template.php

WordPress Trac noreply at wordpress.org
Fri Feb 27 23:28:33 UTC 2026


#64700: Code Modernization: Replace void in PHPDoc union return types with null in
general-template.php
--------------------------+--------------------------
 Reporter:  apermo        |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  7.0
Component:  General       |     Version:  4.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------
Changes (by westonruter):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61768" 61768]:
 {{{
 #!CommitTicketReference repository="" revision="61768"
 Code Quality: Replace `void` with `null` in union return types in
 `general-template.php`.

 Developed in https://github.com/WordPress/wordpress-develop/pull/11005

 Follow-up to r61767, r61766, r61719, r61716, r53300, r32598.

 Props apermo, xate, mukesh27.
 See #64238.
 Fixes #64700.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64700#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list