summaryrefslogtreecommitdiffstatshomepage
path: root/src/wp-includes/rest-api/class-wp-rest-server.php
diff options
context:
space:
mode:
authorJohn Blackbourn <johnbillion@git.wordpress.org>2021-01-03 22:02:13 +0000
committerJohn Blackbourn <johnbillion@git.wordpress.org>2021-01-03 22:02:13 +0000
commit679ccc35e63e62a90c768afcc16f46bd154dfb65 (patch)
treed1f8aecbddc39afc3fd960d1cae3860093a126cb /src/wp-includes/rest-api/class-wp-rest-server.php
parent374b41ed13a5cf26739287a2c3fee15b14d4cfc5 (diff)
downloadwordpress-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.php2
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();