diff options
author | John Blackbourn <johnbillion@git.wordpress.org> | 2021-01-03 22:02:13 +0000 |
---|---|---|
committer | John Blackbourn <johnbillion@git.wordpress.org> | 2021-01-03 22:02:13 +0000 |
commit | 679ccc35e63e62a90c768afcc16f46bd154dfb65 (patch) | |
tree | d1f8aecbddc39afc3fd960d1cae3860093a126cb /src/wp-includes/rest-api/class-wp-rest-server.php | |
parent | 374b41ed13a5cf26739287a2c3fee15b14d4cfc5 (diff) | |
download | wordpress-679ccc35e63e62a90c768afcc16f46bd154dfb65.tar.gz wordpress-679ccc35e63e62a90c768afcc16f46bd154dfb65.zip |
Docs: Promote many `bool` types to `true` or `false` where only that value is used.
See #51800
git-svn-id: https://develop.svn.wordpress.org/trunk@49927 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'src/wp-includes/rest-api/class-wp-rest-server.php')
-rw-r--r-- | src/wp-includes/rest-api/class-wp-rest-server.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wp-includes/rest-api/class-wp-rest-server.php b/src/wp-includes/rest-api/class-wp-rest-server.php index 85866e26d9..6a972b6468 100644 --- a/src/wp-includes/rest-api/class-wp-rest-server.php +++ b/src/wp-includes/rest-api/class-wp-rest-server.php @@ -1203,7 +1203,7 @@ class WP_REST_Server { * * @since 4.4.0 * - * @return bool|string Boolean false or string error message. + * @return false|string Boolean false or string error message. */ protected function get_json_last_error() { $last_error_code = json_last_error(); |