minor #14724 [Intl/DateFormatter] Fix typo unitialized vs. uninitialized (SpacePossum)

This PR was merged into the 2.3 branch.

Discussion
----------

[Intl/DateFormatter] Fix typo unitialized vs. uninitialized

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

unitialized vs. uninitialized

Commits
-------

6ac8d29 Fix typo
This commit is contained in:
Fabien Potencier 2015-05-22 13:50:35 +02:00
commit ff0cb41ef7

View File

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