WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/11/2020 06:30:58 PM (13 months ago)
Author:
SergeyBiryukov
Message:

Docs: In various @return tags, list the expected type first, instead of false.

Follow-up to [46696].

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-community-events.php

    r45932 r47060  
    230230     * @since 4.8.0
    231231     *
    232      * @return false|string The anonymized address on success; the given address
     232     * @return string|false The anonymized address on success; the given address
    233233     *                      or false on failure.
    234234     */
     
    342342     * @since 4.8.0
    343343     *
    344      * @return false|array false on failure; an array containing `location`
    345      *                     and `events` items on success.
     344     * @return array|false An array containing `location` and `events` items
     345     *                     on success, false on failure.
    346346     */
    347347    public function get_cached_events() {
Note: See TracChangeset for help on using the changeset viewer.