[wp-trac] [WordPress Trac] #59619: Remove discouraged `@return void` annotations

WordPress Trac noreply at wordpress.org
Mon Oct 16 15:15:29 UTC 2023


#59619: Remove discouraged `@return void` annotations
--------------------------+-----------------------
 Reporter:  flixos90      |       Owner:  flixos90
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.4
Component:  General       |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------
Changes (by flixos90):

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


Comment:

 In [changeset:"56943" 56943]:
 {{{
 #!CommitTicketReference repository="" revision="56943"
 General: Remove discouraged `@return void` annotations.

 Such `@return void` annotations must not be used in WordPress core's PHP
 code, except bundled themes, third-party libraries, and PHP compatibility
 shims.

 Props isabel_brison, swissspidy.
 Fixes #59619.
 }}}

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


More information about the wp-trac mailing list