Docs: Various formatting improvements to inline docblocks.
See #49572 Built from https://develop.svn.wordpress.org/trunk@48574 git-svn-id: http://core.svn.wordpress.org/trunk@48336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1082,6 +1082,9 @@ function walk_category_tree( ...$args ) {
|
||||
if ( empty( $args[2]['walker'] ) || ! ( $args[2]['walker'] instanceof Walker ) ) {
|
||||
$walker = new Walker_Category;
|
||||
} else {
|
||||
/**
|
||||
* @var Walker $walker
|
||||
*/
|
||||
$walker = $args[2]['walker'];
|
||||
}
|
||||
return $walker->walk( ...$args );
|
||||
@@ -1105,6 +1108,9 @@ function walk_category_dropdown_tree( ...$args ) {
|
||||
if ( empty( $args[2]['walker'] ) || ! ( $args[2]['walker'] instanceof Walker ) ) {
|
||||
$walker = new Walker_CategoryDropdown;
|
||||
} else {
|
||||
/**
|
||||
* @var Walker $walker
|
||||
*/
|
||||
$walker = $args[2]['walker'];
|
||||
}
|
||||
return $walker->walk( ...$args );
|
||||
|
||||
Reference in New Issue
Block a user