diff --git a/tests/phpunit/tests/functions/wpValidateBoolean.php b/tests/phpunit/tests/functions/wpValidateBoolean.php index 2355921bd3..79b9401f4d 100644 --- a/tests/phpunit/tests/functions/wpValidateBoolean.php +++ b/tests/phpunit/tests/functions/wpValidateBoolean.php @@ -1,7 +1,7 @@ assertSame( $expected, wp_validate_boolean( $test_value ) ); } /** - * Provides test scenarios for all possible scenarios in wp_validate_boolean(). + * Data provider for test_wp_validate_boolean(). * - * @return array + * @return array[] Test parameters { + * @type string $test_value Test value. + * @type string $expected Expected return value. + * } */ - public function data_provider() { + public function data_wp_validate_boolean() { $std = new \stdClass(); return array(