Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ff0cb41

Browse filesBrowse files
committed
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
2 parents 089d9f7 + 6ac8d29 commit ff0cb41
Copy full SHA for ff0cb41

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php
+3-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.