Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #25514, comment 6


Ignore:
Timestamp:
10/08/2013 05:17:09 PM (11 years ago)
Author:
dougwollison
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25514, comment 6

    initial v1  
    11Done, however in terms of documenting variables that "don't exist", it still goes back to the fact that we're documenting how the hook is used; the exact name of the parameter doesn't matter, as it's getting passed to another function that may use it's only naming for it.
    22
    3 We almost don't need to name the variables at all; just the type and a description. It's more like a @return tag than a @param tag in some ways.
     3We almost don't need to name the variables at all; just the type and a description. It's more like a @return tag than a @param tag in some ways. PHPDoc wasn't really written with this particular use in mind.