[wp-trac] [WordPress Trac] #32865: Replace @returns with @return

WordPress Trac noreply at wordpress.org
Thu Jul 2 19:42:16 UTC 2015


#32865: Replace @returns with @return
--------------------------+-----------------------------
 Reporter:  kraftbj       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:  docs          |
--------------------------+-----------------------------
 PHP docblocks should use `@return` and not `@returns` as done with JS per
 http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.return.pkg.html

 There are a few instances of this, mostly in Press This.

 Patch incoming.

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


More information about the wp-trac mailing list