diff --git a/src/wp-content/themes/twentynineteen/inc/icon-functions.php b/src/wp-content/themes/twentynineteen/inc/icon-functions.php index b0ebf82d1c..b69513a319 100644 --- a/src/wp-content/themes/twentynineteen/inc/icon-functions.php +++ b/src/wp-content/themes/twentynineteen/inc/icon-functions.php @@ -34,8 +34,8 @@ function twentynineteen_get_social_link_svg( $uri, $size = 24 ) { * @param string $item_output The menu item output. * @param WP_Post $item Menu item object. * @param int $depth Depth of the menu. - * @param array $args wp_nav_menu() arguments. - * @return string $item_output The menu item output with social icon. + * @param object $args wp_nav_menu() arguments. + * @return string The menu item output with social icon. */ function twentynineteen_nav_menu_social_icons( $item_output, $item, $depth, $args ) { // Change SVG icon inside social links menu if there is supported URL. diff --git a/src/wp-content/themes/twentyseventeen/functions.php b/src/wp-content/themes/twentyseventeen/functions.php index 6b212b128b..4c1a1ecf89 100644 --- a/src/wp-content/themes/twentyseventeen/functions.php +++ b/src/wp-content/themes/twentyseventeen/functions.php @@ -311,9 +311,9 @@ function twentyseventeen_fonts_url() { * * @since Twenty Seventeen 1.0 * - * @param array $urls URLs to print for resource hints. - * @param string $relation_type The relation type the URLs are printed. - * @return array $urls URLs to print for resource hints. + * @param array $urls URLs to print for resource hints. + * @param string $relation_type The relation type the URLs are printed. + * @return array URLs to print for resource hints. */ function twentyseventeen_resource_hints( $urls, $relation_type ) { if ( wp_style_is( 'twentyseventeen-fonts', 'queue' ) && 'preconnect' === $relation_type ) { diff --git a/src/wp-content/themes/twentyseventeen/inc/icon-functions.php b/src/wp-content/themes/twentyseventeen/inc/icon-functions.php index 6aa695e41a..79dcbf03be 100644 --- a/src/wp-content/themes/twentyseventeen/inc/icon-functions.php +++ b/src/wp-content/themes/twentyseventeen/inc/icon-functions.php @@ -120,8 +120,8 @@ function twentyseventeen_get_svg( $args = array() ) { * @param string $item_output The menu item output. * @param WP_Post $item Menu item object. * @param int $depth Depth of the menu. - * @param array $args wp_nav_menu() arguments. - * @return string $item_output The menu item output with social icon. + * @param object $args wp_nav_menu() arguments. + * @return string The menu item output with social icon. */ function twentyseventeen_nav_menu_social_icons( $item_output, $item, $depth, $args ) { // Get supported social icons. @@ -145,9 +145,9 @@ add_filter( 'walker_nav_menu_start_el', 'twentyseventeen_nav_menu_social_icons', * * @param string $title The menu item's title. * @param WP_Post $item The current menu item. - * @param array $args An array of wp_nav_menu() arguments. + * @param object $args An array of wp_nav_menu() arguments. * @param int $depth Depth of menu item. Used for padding. - * @return string $title The menu item's title with dropdown icon. + * @return string The menu item's title with dropdown icon. */ function twentyseventeen_dropdown_icon_to_menu_link( $title, $item, $args, $depth ) { if ( 'top' === $args->theme_location ) { @@ -165,7 +165,7 @@ add_filter( 'nav_menu_item_title', 'twentyseventeen_dropdown_icon_to_menu_link', /** * Returns an array of supported social links (URL and icon name). * - * @return array $social_links_icons + * @return array Array of social links icons. */ function twentyseventeen_social_links_icons() { // Supported social links icons. diff --git a/src/wp-content/themes/twentysixteen/functions.php b/src/wp-content/themes/twentysixteen/functions.php index 4d743eb116..5551eee41e 100644 --- a/src/wp-content/themes/twentysixteen/functions.php +++ b/src/wp-content/themes/twentysixteen/functions.php @@ -238,9 +238,9 @@ add_action( 'after_setup_theme', 'twentysixteen_content_width', 0 ); * * @since Twenty Sixteen 1.6 * - * @param array $urls URLs to print for resource hints. - * @param string $relation_type The relation type the URLs are printed. - * @return array $urls URLs to print for resource hints. + * @param array $urls URLs to print for resource hints. + * @param string $relation_type The relation type the URLs are printed. + * @return array URLs to print for resource hints. */ function twentysixteen_resource_hints( $urls, $relation_type ) { if ( wp_style_is( 'twentysixteen-fonts', 'queue' ) && 'preconnect' === $relation_type ) {