Skip to content

Commit 39bdd5f

Browse files
committed
Docs: Normalize Walker_Comment method parameter docs spacing following [37051].
See #36300. git-svn-id: https://develop.svn.wordpress.org/trunk@37052 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 542f0a1 commit 39bdd5f

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

src/wp-includes/class-walker-comment.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,12 @@ public function end_lvl( &$output, $depth = 0, $args = array() ) {
123123
* @see Walker::display_element()
124124
* @see wp_list_comments()
125125
*
126-
* @param WP_Comment $element Data object.
127-
* @param array $children_elements List of elements to continue traversing. Passed by reference.
128-
* @param int $max_depth Max depth to traverse.
129-
* @param int $depth Depth of the current element.
130-
* @param array $args An array of arguments.
131-
* @param string $output Used to append additional content. Passed by reference.
126+
* @param WP_Comment $element Comment data object.
127+
* @param array $children_elements List of elements to continue traversing. Passed by reference.
128+
* @param int $max_depth Max depth to traverse.
129+
* @param int $depth Depth of the current element.
130+
* @param array $args An array of arguments.
131+
* @param string $output Used to append additional content. Passed by reference.
132132
*/
133133
public function display_element( $element, &$children_elements, $max_depth, $depth, $args, &$output ) {
134134
if ( !$element )
@@ -164,11 +164,11 @@ public function display_element( $element, &$children_elements, $max_depth, $dep
164164
* @global int $comment_depth
165165
* @global WP_Comment $comment
166166
*
167-
* @param string $output Used to append additional content. Passed by reference.
167+
* @param string $output Used to append additional content. Passed by reference.
168168
* @param WP_Comment $comment Comment data object.
169-
* @param int $depth Optional. Depth of the current comment in reference to parents. Default 0.
170-
* @param array $args Optional. An array of arguments. Default empty array.
171-
* @param int $id Optional. ID of the current comment. Default 0 (unused).
169+
* @param int $depth Optional. Depth of the current comment in reference to parents. Default 0.
170+
* @param array $args Optional. An array of arguments. Default empty array.
171+
* @param int $id Optional. ID of the current comment. Default 0 (unused).
172172
*/
173173
public function start_el( &$output, $comment, $depth = 0, $args = array(), $id = 0 ) {
174174
$depth++;
@@ -255,8 +255,8 @@ protected function ping( $comment, $depth, $args ) {
255255
* @see wp_list_comments()
256256
*
257257
* @param WP_Comment $comment Comment to display.
258-
* @param int $depth Depth of the current comment.
259-
* @param array $args An array of arguments.
258+
* @param int $depth Depth of the current comment.
259+
* @param array $args An array of arguments.
260260
*/
261261
protected function comment( $comment, $depth, $args ) {
262262
if ( 'div' == $args['style'] ) {
@@ -314,8 +314,8 @@ protected function comment( $comment, $depth, $args ) {
314314
* @see wp_list_comments()
315315
*
316316
* @param WP_Comment $comment Comment to display.
317-
* @param int $depth Depth of the current comment.
318-
* @param array $args An array of arguments.
317+
* @param int $depth Depth of the current comment.
318+
* @param array $args An array of arguments.
319319
*/
320320
protected function html5_comment( $comment, $depth, $args ) {
321321
$tag = ( 'div' === $args['style'] ) ? 'div' : 'li';

0 commit comments

Comments
 (0)