Skip to content

Commit 7c3e145

Browse files
committed
General: Improve docblock for data provider function.
Fix function description and add explicit return value typing. Follow-up to [61120]. Props mindctrl, westonruter. See #64108. git-svn-id: https://develop.svn.wordpress.org/trunk@61140 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 3b89edb commit 7c3e145

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

tests/phpunit/tests/template.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -997,9 +997,16 @@ public function test_wp_start_template_enhancement_output_buffer_for_json(): voi
997997
}
998998

999999
/**
1000-
* Data provider for data_provider_to_test_wp_finalize_template_enhancement_output_buffer_with_errors_while_processing.
1000+
* Data provider for test_wp_finalize_template_enhancement_output_buffer_with_errors_while_processing.
10011001
*
1002-
* @return array
1002+
* @return array<string, array{
1003+
* ini_config_options: array<string, int|string|bool>,
1004+
* emit_filter_errors: Closure,
1005+
* emit_action_errors: Closure,
1006+
* expected_processed: bool,
1007+
* expected_error_log: string[],
1008+
* expected_displayed_errors: string[],
1009+
* }>
10031010
*/
10041011
public function data_provider_to_test_wp_finalize_template_enhancement_output_buffer_with_errors_while_processing(): array {
10051012
$log_and_display_all = array(

0 commit comments

Comments
 (0)