Timezone::parseOffset() returns string|false, not string|bool

This commit is contained in:
Dylan K. Taylor 2020-04-15 09:47:52 +01:00
parent ccad97727f
commit 7e9c38a9d9

View File

@ -188,7 +188,7 @@ abstract class Timezone{
/** /**
* @param string $offset In the format of +09:00, +02:00, -04:00 etc. * @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){ private static function parseOffset($offset){
//Make signed offsets unsigned for date_parse //Make signed offsets unsigned for date_parse