Internet::getIP() returns string|false, not string|bool

This commit is contained in:
Dylan K. Taylor 2020-04-15 09:39:38 +01:00
parent cb6b59a52a
commit e3ebf8bb61

View File

@ -72,7 +72,7 @@ class Internet{
* *
* @param bool $force default false, force IP check even when cached * @param bool $force default false, force IP check even when cached
* *
* @return string|bool * @return string|false
*/ */
public static function getIP(bool $force = false){ public static function getIP(bool $force = false){
if(!self::$online){ if(!self::$online){