This commit is contained in:
Possum 2015-05-22 12:24:03 +02:00
parent 089d9f734a
commit 6ac8d29d18

View File

@ -119,7 +119,7 @@ class IntlDateFormatter
/** /**
* @var bool * @var bool
*/ */
private $unitializedTimeZoneId = false; private $uninitializedTimeZoneId = false;
/** /**
* @var string * @var string
@ -371,7 +371,7 @@ class IntlDateFormatter
*/ */
public function getTimeZoneId() public function getTimeZoneId()
{ {
if (!$this->unitializedTimeZoneId) { if (!$this->uninitializedTimeZoneId) {
return $this->timeZoneId; return $this->timeZoneId;
} }
@ -551,7 +551,7 @@ class IntlDateFormatter
$timeZoneId = getenv('TZ') ?: 'UTC'; $timeZoneId = getenv('TZ') ?: 'UTC';
} }
$this->unitializedTimeZoneId = true; $this->uninitializedTimeZoneId = true;
} }
// Backup original passed time zone // Backup original passed time zone