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:
commit
ff0cb41ef7
@ -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
|
||||
|
Reference in New Issue
Block a user