From 3df7a53c98c1fdb2e0f4ee1f7232fab894ae9b63 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 18 Jul 2023 07:35:16 +0000 Subject: [PATCH] Docs: Various docblocks corrections. See #57840. git-svn-id: https://develop.svn.wordpress.org/trunk@56257 602fd350-edb4-49c9-b593-d223f7449a82 --- .../class-wp-classic-to-block-menu-converter.php | 12 ++++++------ src/wp-includes/class-wp-navigation-fallback.php | 2 +- .../class-wp-rest-navigation-fallback-controller.php | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/wp-includes/class-wp-classic-to-block-menu-converter.php b/src/wp-includes/class-wp-classic-to-block-menu-converter.php index a2f7197329..3aeb865302 100644 --- a/src/wp-includes/class-wp-classic-to-block-menu-converter.php +++ b/src/wp-includes/class-wp-classic-to-block-menu-converter.php @@ -78,12 +78,12 @@ class WP_Classic_To_Block_Menu_Converter { * * @since 6.3.0 * - * @param array $menu_items An array of menu items that represent - * an individual level of a menu. - * @param array $menu_items_by_parent_id An array keyed by the id of the - * parent menu where each element is an - * array of menu items that belong to - * that parent. + * @param array $menu_items An array of menu items that represent + * an individual level of a menu. + * @param array $menu_items_by_parent_id An array keyed by the id of the + * parent menu where each element is an + * array of menu items that belong to + * that parent. * @return array An array of parsed block data. */ private static function to_blocks( $menu_items, $menu_items_by_parent_id ) { diff --git a/src/wp-includes/class-wp-navigation-fallback.php b/src/wp-includes/class-wp-navigation-fallback.php index b80803d589..99bece209f 100644 --- a/src/wp-includes/class-wp-navigation-fallback.php +++ b/src/wp-includes/class-wp-navigation-fallback.php @@ -125,7 +125,7 @@ class WP_Navigation_Fallback { } /** - * Determine the most appropriate classic navigation menu to use as a fallback. + * Determines the most appropriate classic navigation menu to use as a fallback. * * @since 6.3.0 * diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-navigation-fallback-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-navigation-fallback-controller.php index 33c3f9c2ed..2290c69f32 100644 --- a/src/wp-includes/rest-api/endpoints/class-wp-rest-navigation-fallback-controller.php +++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-navigation-fallback-controller.php @@ -147,8 +147,8 @@ class WP_REST_Navigation_Fallback_Controller extends WP_REST_Controller { * * @since 6.3.0 * - * @param WP_Post $item The wp_navigation Post object whose response is being prepared. - * @param WP_REST_Request $request Request object. + * @param WP_Post $item The wp_navigation Post object whose response is being prepared. + * @param WP_REST_Request $request Request object. * @return WP_REST_Response $response The response data. */ public function prepare_item_for_response( $item, $request ) {