summaryrefslogtreecommitdiffstatshomepage
path: root/src/wp-admin/includes/class-wp-community-events.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/wp-admin/includes/class-wp-community-events.php')
-rw-r--r--src/wp-admin/includes/class-wp-community-events.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wp-admin/includes/class-wp-community-events.php b/src/wp-admin/includes/class-wp-community-events.php
index 6a12d520f6..af5ce241b7 100644
--- a/src/wp-admin/includes/class-wp-community-events.php
+++ b/src/wp-admin/includes/class-wp-community-events.php
@@ -29,7 +29,7 @@ class WP_Community_Events {
*
* @since 4.8.0
*
- * @var bool|array
+ * @var false|array
*/
protected $user_location = false;
@@ -306,7 +306,7 @@ class WP_Community_Events {
* @since 4.8.0
*
* @param array $location Should contain 'latitude' and 'longitude' indexes.
- * @return bool|string false on failure, or a string on success.
+ * @return false|string false on failure, or a string on success.
*/
protected function get_events_transient_key( $location ) {
$key = false;
@@ -325,8 +325,8 @@ class WP_Community_Events {
*
* @since 4.8.0
*
- * @param array $events Response body from the API request.
- * @param int|bool $expiration Optional. Amount of time to cache the events. Defaults to false.
+ * @param array $events Response body from the API request.
+ * @param int|false $expiration Optional. Amount of time to cache the events. Defaults to false.
* @return bool true if events were cached; false if not.
*/
protected function cache_events( $events, $expiration = false ) {