[wp-trac] [WordPress Trac] #58092: WpOrg\Requests missing use statement for Stringable

WordPress Trac noreply at wordpress.org
Thu Apr 6 06:00:40 UTC 2023


#58092: WpOrg\Requests missing use statement for Stringable
--------------------------------+-----------------------
 Reporter:  kkmuffme            |       Owner:  (none)
     Type:  defect (bug)        |      Status:  reopened
 Priority:  normal              |   Milestone:
Component:  External Libraries  |     Version:  6.2
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:
--------------------------------+-----------------------
Changes (by kkmuffme):

 * status:  closed => reopened
 * resolution:  reported-upstream =>


Comment:

 Just checked the upstream and you are correct - it's correct there.

 However in WP 6.2 the FQCN is missing.

 Look at Session.php, in github you have `@param string|\Stringable|null
 $url` but in WP 6.2 (downloaded zip from WP) it is `@param
 string|Stringable|null $url`
 Is this because WP 6.2 does not have the latest version of this lib or is
 this a bug in the WP build process?
 @jrf

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


More information about the wp-trac mailing list