[wp-trac] [WordPress Trac] #63491: Missing return type in public function parselisting( $line )

WordPress Trac noreply at wordpress.org
Wed May 28 07:20:19 UTC 2025


#63491: Missing return type in public function parselisting( $line )
----------------------------+------------------------------
 Reporter:  opurockey       |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Filesystem API  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+------------------------------
Changes (by abcd95):

 * keywords:   => has-patch


Comment:

 Hi @opurockey, Thanks for the ticket.

 I can see that the empty string return statement was added in [45583] and
 the DocBlock was added in [55714], which apparently did not handle the
 return type of the function in the docblock.

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


More information about the wp-trac mailing list