Skip to content

Commit ff0cb41

Browse files
committed
minor symfony#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
2 parents 089d9f7 + 6ac8d29 commit ff0cb41

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class IntlDateFormatter
119119
/**
120120
* @var bool
121121
*/
122-
private $unitializedTimeZoneId = false;
122+
private $uninitializedTimeZoneId = false;
123123

124124
/**
125125
* @var string
@@ -371,7 +371,7 @@ public function getTimeType()
371371
*/
372372
public function getTimeZoneId()
373373
{
374-
if (!$this->unitializedTimeZoneId) {
374+
if (!$this->uninitializedTimeZoneId) {
375375
return $this->timeZoneId;
376376
}
377377

@@ -551,7 +551,7 @@ public function setTimeZoneId($timeZoneId)
551551
$timeZoneId = getenv('TZ') ?: 'UTC';
552552
}
553553

554-
$this->unitializedTimeZoneId = true;
554+
$this->uninitializedTimeZoneId = true;
555555
}
556556

557557
// Backup original passed time zone

0 commit comments

Comments
 (0)