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
This commit is contained in:
Sergey Biryukov 2022-02-19 13:25:05 +00:00
parent 2836ece22f
commit 3d0607f0df
2 changed files with 6 additions and 6 deletions

View File

@ -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 ) );

View File

@ -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() {