diff --git a/tests/phpunit/tests/ajax/wpCustomizeNavMenus.php b/tests/phpunit/tests/ajax/wpCustomizeNavMenus.php index 40f2dd1f6f514..1dfe5f684d01e 100644 --- a/tests/phpunit/tests/ajax/wpCustomizeNavMenus.php +++ b/tests/phpunit/tests/ajax/wpCustomizeNavMenus.php @@ -119,8 +119,8 @@ public function test_ajax_load_available_items_cap_check( $role, $expected_resul * * @return array { * @type array { - * @string string $role The role that will test caps for. - * @array array $expected_results The expected results from the Ajax call. + * @type string $role The role that will test caps for. + * @type array $expected_results The expected results from the Ajax call. * } * } */ @@ -191,8 +191,8 @@ public function test_ajax_load_available_items_error_messages( $post_args, $expe * * @return array { * @type array { - * @array array $post_args The arguments that will merged with the $_POST array. - * @array array $expected_results The expected results from the Ajax call. + * @type array $post_args The arguments that will merged with the $_POST array. + * @type array $expected_results The expected results from the Ajax call. * } * } */ @@ -515,8 +515,8 @@ public function test_ajax_search_available_items_caps_check( $role, $expected_re * * @return array { * @type array { - * @string string $role The role that will test caps for. - * @array array $expected_results The expected results from the Ajax call. + * @type string $role The role that will test caps for. + * @type array $expected_results The expected results from the Ajax call. * } * } */ @@ -610,8 +610,8 @@ public function test_ajax_search_available_items_results( $post_args, $expected_ * * @return array { * @type array { - * @string string $post_args The args that will be passed to Ajax. - * @array array $expected_results The expected results from the Ajax call. + * @type string $post_args The args that will be passed to Ajax. + * @type array $expected_results The expected results from the Ajax call. * } * } */ diff --git a/tests/phpunit/tests/functions/anonymization.php b/tests/phpunit/tests/functions/anonymization.php index a9b96e8d1b974..c4b979bfe92b2 100644 --- a/tests/phpunit/tests/functions/anonymization.php +++ b/tests/phpunit/tests/functions/anonymization.php @@ -41,8 +41,8 @@ public function test_wp_privacy_anonymize_ip( $raw_ip, $expected_result ) { * * @return array { * @type array { - * @string string $raw_ip Raw IP address. - * @string string $expected_result Expected result. + * @type string $raw_ip Raw IP address. + * @type string $expected_result Expected result. * } * } */ @@ -195,8 +195,8 @@ public function test_wp_privacy_anonymize_ip_with_inet_dependency( $raw_ip, $exp * * @return array { * @type array { - * @string string $raw_ip Raw IP address. - * @string string $expected_result Expected result. + * @type string $raw_ip Raw IP address. + * @type string $expected_result Expected result. * } * } */ diff --git a/tests/phpunit/tests/kses.php b/tests/phpunit/tests/kses.php index 45f2862d14b78..51fcab74b6de0 100644 --- a/tests/phpunit/tests/kses.php +++ b/tests/phpunit/tests/kses.php @@ -952,8 +952,8 @@ public function test_safecss_filter_attr( $css, $expected ) { * * @return array { * @type array { - * @string string $css A string of CSS rules. - * @string string $expected Expected string of CSS rules. + * @type string $css A string of CSS rules. + * @type string $expected Expected string of CSS rules. * } * } */ @@ -1614,8 +1614,8 @@ public function test_safecss_filter_attr_filtered( $css, $expected ) { * * @return array { * @type array { - * @string string $css A string of CSS rules. - * @string string $expected Expected string of CSS rules. + * @type string $css A string of CSS rules. + * @type string $expected Expected string of CSS rules. * } * } */ diff --git a/tests/phpunit/tests/privacy/wpPrivacyProcessPersonalDataExportPage.php b/tests/phpunit/tests/privacy/wpPrivacyProcessPersonalDataExportPage.php index 3f7f7074e6118..5410f851f4b2a 100644 --- a/tests/phpunit/tests/privacy/wpPrivacyProcessPersonalDataExportPage.php +++ b/tests/phpunit/tests/privacy/wpPrivacyProcessPersonalDataExportPage.php @@ -626,12 +626,12 @@ public function test_request_status_transitions_correctly( $expected_status, $re * * @return array { * @type array { - * @string string $expected_status The expected post status after calling the function. - * @string string $response_page The exporter page to pass. Options are 'first' and 'last'. Default 'first'. - * @string string $exporter_index The exporter index to pass. Options are 'first' and 'last'. Default 'first'. - * @string string $page_index The page index to pass. Options are 'first' and 'last'. Default 'first'. - * @bool bool $send_as_email If the response should be sent as an email. - * @string string $exporter_key The slug (key) of the exporter to pass. + * @type string $expected_status The expected post status after calling the function. + * @type string $response_page The exporter page to pass. Options are 'first' and 'last'. Default 'first'. + * @type string $exporter_index The exporter index to pass. Options are 'first' and 'last'. Default 'first'. + * @type string $page_index The page index to pass. Options are 'first' and 'last'. Default 'first'. + * @type bool $send_as_email If the response should be sent as an email. + * @type string $exporter_key The slug (key) of the exporter to pass. * } * } */