[wp-trac] [WordPress Trac] #34032: callback is not a valid parameter type

WordPress Trac noreply at wordpress.org
Fri Sep 25 23:48:29 UTC 2015


#34032: callback is not a valid parameter type
--------------------------+-----------------------------
 Reporter:  johnbillion   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:  docs          |
--------------------------+-----------------------------
 In many of our docblocks, `callback` is used as a `@param` type. This is
 not a valid type in PHP, PSR-5, or phpDocumentor, which all use
 `callable`.

 Refs:

  * http://uk1.php.net/manual/en/language.types.callable.php
  * https://github.com/phpDocumentor/fig-
 standards/blob/master/proposed/phpdoc.md#keyword
  * http://www.phpdoc.org/docs/latest/guides/types.html

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34032>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list