mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Docs: Standardise the format used for documenting parameters passed by reference.
See #35974, #41017 git-svn-id: https://develop.svn.wordpress.org/trunk@41688 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -55,7 +55,7 @@ class Walker {
|
||||
* @since 2.1.0
|
||||
* @abstract
|
||||
*
|
||||
* @param string $output Passed by reference. Used to append additional content.
|
||||
* @param string $output Used to append additional content (passed by reference).
|
||||
* @param int $depth Depth of the item.
|
||||
* @param array $args An array of additional arguments.
|
||||
*/
|
||||
@@ -70,7 +70,7 @@ class Walker {
|
||||
* @since 2.1.0
|
||||
* @abstract
|
||||
*
|
||||
* @param string $output Passed by reference. Used to append additional content.
|
||||
* @param string $output Used to append additional content (passed by reference).
|
||||
* @param int $depth Depth of the item.
|
||||
* @param array $args An array of additional arguments.
|
||||
*/
|
||||
@@ -85,7 +85,7 @@ class Walker {
|
||||
* @since 2.1.0
|
||||
* @abstract
|
||||
*
|
||||
* @param string $output Passed by reference. Used to append additional content.
|
||||
* @param string $output Used to append additional content (passed by reference).
|
||||
* @param object $object The data object.
|
||||
* @param int $depth Depth of the item.
|
||||
* @param array $args An array of additional arguments.
|
||||
@@ -101,7 +101,7 @@ class Walker {
|
||||
* @since 2.1.0
|
||||
* @abstract
|
||||
*
|
||||
* @param string $output Passed by reference. Used to append additional content.
|
||||
* @param string $output Used to append additional content (passed by reference).
|
||||
* @param object $object The data object.
|
||||
* @param int $depth Depth of the item.
|
||||
* @param array $args An array of additional arguments.
|
||||
@@ -121,11 +121,11 @@ class Walker {
|
||||
* @since 2.5.0
|
||||
*
|
||||
* @param object $element Data object.
|
||||
* @param array $children_elements List of elements to continue traversing.
|
||||
* @param array $children_elements List of elements to continue traversing (passed by reference).
|
||||
* @param int $max_depth Max depth to traverse.
|
||||
* @param int $depth Depth of current element.
|
||||
* @param array $args An array of arguments.
|
||||
* @param string $output Passed by reference. Used to append additional content.
|
||||
* @param string $output Used to append additional content (passed by reference).
|
||||
*/
|
||||
public function display_element( $element, &$children_elements, $max_depth, $depth, $args, &$output ) {
|
||||
if ( ! $element ) {
|
||||
|
||||
Reference in New Issue
Block a user