From 754dd5c11e2de371f5e42ffe5102ee671888ee7e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 9 Mar 2017 14:00:09 +0000 Subject: [PATCH] Docs: Correct `@return` type for `calendar_week_mod()`. Props dingo_bastard. Fixes #40077. git-svn-id: https://develop.svn.wordpress.org/trunk@40254 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/general-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index 715dab7d15..04df6989b6 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -1860,7 +1860,7 @@ function wp_get_archives( $args = '' ) { * @since 1.5.0 * * @param int $num Number of day. - * @return int Days since the start of the week. + * @return float Days since the start of the week. */ function calendar_week_mod($num) { $base = 7;