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:
John Blackbourn
2020-07-23 00:52:05 +00:00
parent 1fbcdb2213
commit 0bf9b04c53
26 changed files with 82 additions and 75 deletions

View File

@@ -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 );