From e3ebf8bb61e3edef7f0a5c73c0855fb433afc913 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 15 Apr 2020 09:39:38 +0100 Subject: [PATCH] Internet::getIP() returns string|false, not string|bool --- src/pocketmine/utils/Internet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/utils/Internet.php b/src/pocketmine/utils/Internet.php index 2194399f6f..84225eb50f 100644 --- a/src/pocketmine/utils/Internet.php +++ b/src/pocketmine/utils/Internet.php @@ -72,7 +72,7 @@ class Internet{ * * @param bool $force default false, force IP check even when cached * - * @return string|bool + * @return string|false */ public static function getIP(bool $force = false){ if(!self::$online){