mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-15 07:55:31 +00:00
Internet::getIP() returns string|false, not string|bool
This commit is contained in:
parent
cb6b59a52a
commit
e3ebf8bb61
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user