[wp-trac] [WordPress Trac] #53793: Return type does not match the actual return type in PHPDoc.

WordPress Trac noreply at wordpress.org
Tue Jul 27 08:20:22 UTC 2021


#53793: Return type does not match the actual return type in PHPDoc.
----------------------------+-------------------------------------
 Reporter:  ankitmaru       |       Owner:  johnbillion
     Type:  enhancement     |      Status:  reviewing
 Priority:  normal          |   Milestone:  5.9
Component:  Filesystem API  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  docs, coding-standards
----------------------------+-------------------------------------
Changes (by johnbillion):

 * owner:  (none) => johnbillion
 * status:  new => reviewing
 * version:  5.8 =>
 * component:  General => Filesystem API
 * milestone:  Awaiting Review => 5.9


Comment:

 Good spot and thanks for the patch @ankitmaru. It looks like the
 corresponding docs for the places where `permsn` is used (containing the
 return value of `getnumchmodfromh()`) also need to be updated from `int`
 to `string`. Can you take a look?

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


More information about the wp-trac mailing list