Make WordPress Core


Ignore:
Timestamp:
10/16/2023 03:15:14 PM (3 years ago)
Author:
flixos90
Message:

General: Remove discouraged @return void annotations.

Such @return void annotations must not be used in WordPress core's PHP code, except bundled themes, third-party libraries, and PHP compatibility shims.

Props isabel_brison, swissspidy.
Fixes #59619.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/html-api/wpHtmlProcessorBreadcrumbs.php

    r56941 r56943  
    301301         * @param array  $breadcrumbs Breadcrumbs of element with "target" attribute set.
    302302         * @param int    $ignored_n   Not used in this test but provided in the dataset for other tests.
    303          * @return void
    304303         */
    305304        public function test_reports_correct_breadcrumbs_for_html( $html, $breadcrumbs, $ignored_n ) {
Note: See TracChangeset for help on using the changeset viewer.