Make WordPress Core

Changeset 57101


Ignore:
Timestamp:
11/10/2023 10:47:55 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Fix incorrect @return tag in wp_check_filetype() tests.

@return[] is not a valid tag. Fixed now, though without further specification.

Reference: ​PHP Documentation Standards: PHPDoc Tags.

Follow-up to [55456].

Props jrf.
See #59651.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/functions/wpCheckFiletype.php

    r56971 r57101  
    2929         * Data provider.
    3030         *
    31          * @return[]
     31         * @return array[]
    3232         */
    3333        public function data_wp_check_filetype() {
    … …  
    106106                                ),
    107107                        ),
    108 
    109108                );
    110109        }
Note: See TracChangeset for help on using the changeset viewer.