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

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

See #51800.

git-svn-id: https://develop.svn.wordpress.org/trunk@49963 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2021-01-15 20:06:50 +00:00
parent 965fa1786b
commit fbab01c8ce
8 changed files with 25 additions and 20 deletions
+2 -2
View File
@@ -865,7 +865,7 @@ function wp_get_schedules() {
*
* @param string $hook Action hook to identify the event.
* @param array $args Optional. Arguments passed to the event's callback function.
* @return string|false False, if no schedule. Schedule name on success.
* @return string|false Schedule name on success, false if no schedule.
*/
function wp_get_schedule( $hook, $args = array() ) {
$schedule = false;
@@ -947,7 +947,7 @@ function wp_get_ready_cron_jobs() {
* @since 2.1.0
* @access private
*
* @return array|false CRON info array.
* @return array|false Cron info array on success, false on failure.
*/
function _get_cron_array() {
$cron = get_option( 'cron' );