[wp-trac] [WordPress Trac] #45596: Argument type mismatch

WordPress Trac noreply at wordpress.org
Wed Dec 12 15:27:07 UTC 2018


#45596: Argument type mismatch
------------------------------+------------------------------
 Reporter:  subrataemfluence  |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  low               |   Milestone:  Awaiting Review
Component:  General           |     Version:  5.0
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+------------------------------

Comment (by TimothyBlynJacobs):

 It's possible to document it as `string|false`.
 http://docs.phpdoc.org/references/phpdoc/types.html.

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


More information about the wp-trac mailing list