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

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

See #51800.
Built from https://develop.svn.wordpress.org/trunk@49929


git-svn-id: http://core.svn.wordpress.org/trunk@49628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2021-01-04 17:18:04 +00:00
parent f4d610310c
commit 37662df05e
17 changed files with 26 additions and 27 deletions

View File

@@ -311,7 +311,7 @@ function upload_space_setting( $id ) {
* @since 3.0.0
*
* @param int $id The user ID.
* @return false|int The ID of the refreshed user or false if the user does not exist.
* @return int|false The ID of the refreshed user or false if the user does not exist.
*/
function refresh_user_details( $id ) {
$id = (int) $id;