From 2aa888e3e4cdc82f56b205c1b45958a2b8ee3a0b Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Wed, 30 Oct 2024 17:57:53 +0200 Subject: [PATCH] chore: cleanup incorrect method `@param`s --- src/wp-includes/formatting.php | 2 +- src/wp-includes/ms-functions.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index 75efc33fd6020..b579bcd324299 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -2812,7 +2812,7 @@ function trailingslashit( $value ) { * * @since 2.2.0 * - * @param string $text Value from which trailing slashes will be removed. + * @param string $value Value from which trailing slashes will be removed. * @return string String without the trailing slashes. */ function untrailingslashit( $value ) { diff --git a/src/wp-includes/ms-functions.php b/src/wp-includes/ms-functions.php index 0e77da10194d4..d197b832ebc1f 100644 --- a/src/wp-includes/ms-functions.php +++ b/src/wp-includes/ms-functions.php @@ -2273,7 +2273,7 @@ function add_new_user_to_blog( $user_id, $password, $meta ) { * * @since MU (3.0.0) * - * @param PHPMailer $phpmailer The PHPMailer instance (passed by reference). + * @param \PHPMailer\PHPMailer\PHPMailer $phpmailer The PHPMailer instance (passed by reference). */ function fix_phpmailer_messageid( $phpmailer ) { $phpmailer->Hostname = get_network()->domain;