[wp-trac] [WordPress Trac] #20495: Update phpDoc to reflect post id or object is valid

WordPress Trac noreply at wordpress.org
Mon Sep 23 09:23:06 UTC 2013


#20495: Update phpDoc to reflect post id or object is valid
--------------------------+-----------------------------
 Reporter:  coffee2code   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Inline Docs   |     Version:  3.3.1
 Severity:  trivial       |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------------

Comment (by GaryJ):

 According to the [https://github.com/phpDocumentor/fig-
 standards/blob/master/proposed/phpdoc.md#7-describing-hashes draft PSR],
 all of the Inline PHPDoc bits (the array keys) should still be proceeded
 with a `$` for readability and parsability. The latest commit here uses
 `'foobar'` instead of `$foobar`.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/20495#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list