Make WordPress Core


Ignore:
Timestamp:
01/15/2021 08:06:50 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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

Follow-up to [46696], [47060], [49926], [49927], [49929].

See #51800.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/cron.php

    r49929 r49963  
    866866 * @param string $hook Action hook to identify the event.
    867867 * @param array  $args Optional. Arguments passed to the event's callback function.
    868  * @return string|false False, if no schedule. Schedule name on success.
     868 * @return string|false Schedule name on success, false if no schedule.
    869869 */
    870870function wp_get_schedule( $hook, $args = array() ) {
     
    948948 * @access private
    949949 *
    950  * @return array|false CRON info array.
     950 * @return array|false Cron info array on success, false on failure.
    951951 */
    952952function _get_cron_array() {
Note: See TracChangeset for help on using the changeset viewer.