[wp-trac] [WordPress Trac] #51278: Update return types to reflect the real return types. Remove mixed.
    WordPress Trac 
    noreply at wordpress.org
       
    Wed Sep  9 16:56:53 UTC 2020
    
    
  
#51278: Update return types to reflect the real return types. Remove mixed.
-------------------------+-------------------------------------
 Reporter:  ReneHermi    |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  docs, coding-standards
-------------------------+-------------------------------------
Comment (by ReneHermi):
 Agree, it's counterproductive to list all available PHP types. I've
 updated the PR to make this more clear that any data type can be returned.
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51278#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list