[wp-trac] [WordPress Trac] #51423: Fix function argument type issues reported by PHPStan

WordPress Trac noreply at wordpress.org
Mon Mar 22 12:54:23 UTC 2021


#51423: Fix function argument type issues reported by PHPStan
----------------------------+-------------------------------
 Reporter:  SergeyBiryukov  |       Owner:  hellofromTonya
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  5.8
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  php8 has-patch  |     Focuses:  coding-standards
----------------------------+-------------------------------

Comment (by hellofromTonya):

 @SergeyBiryukov [https://github.com/WordPress/wordpress-develop/pull/1091
 PR1091] is for ready for commit. @jrf and I have reviewed and tested it.

 This one fixes a data type bug which then also fixes the assignment of the
 `WP_User_Search::$page` to match its expected data type.

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


More information about the wp-trac mailing list