diff --git a/tests/phpunit/tests/ajax/wpCustomizeNavMenus.php b/tests/phpunit/tests/ajax/wpCustomizeNavMenus.php index 40f2dd1f6f..1dfe5f684d 100644 --- a/tests/phpunit/tests/ajax/wpCustomizeNavMenus.php +++ b/tests/phpunit/tests/ajax/wpCustomizeNavMenus.php @@ -119,8 +119,8 @@ class Tests_Ajax_wpCustomizeNavMenus extends WP_Ajax_UnitTestCase { * * @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 @@ class Tests_Ajax_wpCustomizeNavMenus extends WP_Ajax_UnitTestCase { * * @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 @@ class Tests_Ajax_wpCustomizeNavMenus extends WP_Ajax_UnitTestCase { * * @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 @@ class Tests_Ajax_wpCustomizeNavMenus extends WP_Ajax_UnitTestCase { * * @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 a9b96e8d1b..c4b979bfe9 100644 --- a/tests/phpunit/tests/functions/anonymization.php +++ b/tests/phpunit/tests/functions/anonymization.php @@ -41,8 +41,8 @@ class Tests_Functions_Anonymization extends WP_UnitTestCase { * * @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 @@ class Tests_Functions_Anonymization extends WP_UnitTestCase { * * @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 45f2862d14..51fcab74b6 100644 --- a/tests/phpunit/tests/kses.php +++ b/tests/phpunit/tests/kses.php @@ -952,8 +952,8 @@ EOF; * * @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 @@ EOF; * * @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 3f7f7074e6..5410f851f4 100644 --- a/tests/phpunit/tests/privacy/wpPrivacyProcessPersonalDataExportPage.php +++ b/tests/phpunit/tests/privacy/wpPrivacyProcessPersonalDataExportPage.php @@ -626,12 +626,12 @@ class Tests_Privacy_wpPrivacyProcessPersonalDataExportPage extends WP_UnitTestCa * * @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. * } * } */