Make WordPress Core


Ignore:
Timestamp:
09/10/2026 10:57:55 PM (2 months ago)
Author:
westonruter
Message:

Docs: Use the bool and int short type forms in PHPDoc.

The PHP inline documentation standards call for bool and int in @param, @return and @global tags, but six docblocks in src/wp-includes still carried the long boolean and integer spellings.

Developed in ​https://github.com/WordPress/wordpress-develop/pull/13476.
Follow-up to r63495.

Props njones35.
See #65860.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/html-api/class-wp-html-tag-processor.php

    r63515 r63596  
    27902790         *
    27912791         * @param string $comparable_name The attribute name in its comparable form.
    2792          * @return string|boolean|null Value of enqueued update if present, otherwise false.
     2792         * @return string|bool|null Value of enqueued update if present, otherwise false.
    27932793         */
    27942794        private function get_enqueued_attribute_value( string $comparable_name ) {
Note: See TracChangeset for help on using the changeset viewer.