From 7e9c38a9d9620cf6617f507695de7836b9c5730a Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 15 Apr 2020 09:47:52 +0100 Subject: [PATCH] Timezone::parseOffset() returns string|false, not string|bool --- src/pocketmine/utils/Timezone.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/utils/Timezone.php b/src/pocketmine/utils/Timezone.php index 11d260925..0328cff56 100644 --- a/src/pocketmine/utils/Timezone.php +++ b/src/pocketmine/utils/Timezone.php @@ -188,7 +188,7 @@ abstract class Timezone{ /** * @param string $offset In the format of +09:00, +02:00, -04:00 etc. * - * @return string|bool + * @return string|false */ private static function parseOffset($offset){ //Make signed offsets unsigned for date_parse