Make WordPress Core

Changeset 61140


Ignore:
Timestamp:
11/04/2025 08:41:01 PM (4 weeks ago)
Author:
westonruter
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/template.php

    r61122 r61140  
    998998
    999999    /**
    1000      * Data provider for data_provider_to_test_wp_finalize_template_enhancement_output_buffer_with_errors_while_processing.
    1001      *
    1002      * @return array
     1000     * Data provider for test_wp_finalize_template_enhancement_output_buffer_with_errors_while_processing.
     1001     *
     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 {
Note: See TracChangeset for help on using the changeset viewer.