Skip to content

Commit ac11464

Browse files
committed
chore: cleanup incorrect method @params
1 parent 695476e commit ac11464

5 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/wp-includes/blocks/button.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
*
1313
* @param array $attributes The block attributes.
1414
* @param string $content The block content.
15-
* @param WP_Block $block The block object.
1615
*
1716
* @return string The block content.
1817
*/

src/wp-includes/blocks/file.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
*
1313
* @param array $attributes The block attributes.
1414
* @param string $content The block content.
15-
* @param WP_Block $block The parsed block.
1615
*
1716
* @return string Returns the block content.
1817
*/

src/wp-includes/blocks/search.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
* @since 6.3.0 Using block.json `viewScript` to register script, and update `view_script_handles()` only when needed.
1212
*
1313
* @param array $attributes The block attributes.
14-
* @param string $content The saved content.
15-
* @param WP_Block $block The parsed block.
1614
*
1715
* @return string The search block markup.
1816
*/

src/wp-includes/formatting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2812,7 +2812,7 @@ function trailingslashit( $value ) {
28122812
*
28132813
* @since 2.2.0
28142814
*
2815-
* @param string $text Value from which trailing slashes will be removed.
2815+
* @param string $value Value from which trailing slashes will be removed.
28162816
* @return string String without the trailing slashes.
28172817
*/
28182818
function untrailingslashit( $value ) {

src/wp-includes/ms-functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2273,7 +2273,7 @@ function add_new_user_to_blog( $user_id, $password, $meta ) {
22732273
*
22742274
* @since MU (3.0.0)
22752275
*
2276-
* @param PHPMailer $phpmailer The PHPMailer instance (passed by reference).
2276+
* @param \PHPMailer\PHPMailer\PHPMailer $phpmailer The PHPMailer instance (passed by reference).
22772277
*/
22782278
function fix_phpmailer_messageid( $phpmailer ) {
22792279
$phpmailer->Hostname = get_network()->domain;

0 commit comments

Comments
 (0)