From 3d0607f0df3fb3f7378765dc881ea4cf3a5b8fcd Mon Sep 17 00:00:00 2001
From: Sergey Biryukov <sergeybiryukov@git.wordpress.org>
Date: Sat, 19 Feb 2022 13:25:05 +0000
Subject: [PATCH] Docs: Correct parameter types for
 `data_wp_validate_boolean()`.

Follow-up to [46159], [46224], [52775], [52776].

See #54725, #54729.

git-svn-id: https://develop.svn.wordpress.org/trunk@52777 602fd350-edb4-49c9-b593-d223f7449a82
---
 tests/phpunit/tests/functions/cleanupHeaderComment.php | 4 ++--
 tests/phpunit/tests/functions/wpValidateBoolean.php    | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/phpunit/tests/functions/cleanupHeaderComment.php b/tests/phpunit/tests/functions/cleanupHeaderComment.php
index 73fcc1ee78..4675db041a 100644
--- a/tests/phpunit/tests/functions/cleanupHeaderComment.php
+++ b/tests/phpunit/tests/functions/cleanupHeaderComment.php
@@ -15,8 +15,8 @@ class Tests_Functions_CleanupHeaderComment extends WP_UnitTestCase {
 	 *
 	 * @dataProvider data_cleanup_header_comment
 	 *
-	 * @param string $test_string
-	 * @param string $expected
+	 * @param string $test_string Test string.
+	 * @param string $expected    Expected return value.
 	 */
 	public function test_cleanup_header_comment( $test_string, $expected ) {
 		$this->assertSameIgnoreEOL( $expected, _cleanup_header_comment( $test_string ) );
diff --git a/tests/phpunit/tests/functions/wpValidateBoolean.php b/tests/phpunit/tests/functions/wpValidateBoolean.php
index 79b9401f4d..f3ccbb1e7c 100644
--- a/tests/phpunit/tests/functions/wpValidateBoolean.php
+++ b/tests/phpunit/tests/functions/wpValidateBoolean.php
@@ -16,8 +16,8 @@ class Tests_Functions_wpValidateBoolean extends WP_UnitTestCase {
 	 * @ticket 30238
 	 * @ticket 39868
 	 *
-	 * @param mixed $test_value
-	 * @param bool  $expected
+	 * @param mixed $test_value Test value.
+	 * @param bool  $expected   Expected return value.
 	 */
 	public function test_wp_validate_boolean( $test_value, $expected ) {
 		$this->assertSame( $expected, wp_validate_boolean( $test_value ) );
@@ -27,8 +27,8 @@ class Tests_Functions_wpValidateBoolean extends WP_UnitTestCase {
 	 * Data provider for test_wp_validate_boolean().
 	 *
 	 * @return array[] Test parameters {
-	 *     @type string $test_value Test value.
-	 *     @type string $expected   Expected return value.
+	 *     @type mixed $test_value Test value.
+	 *     @type bool  $expected   Expected return value.
 	 * }
 	 */
 	public function data_wp_validate_boolean() {