Skip to content

Commit 5e89278

Browse files
committed
minor symfony#23652 [Form] Static call TimezoneType::getTimezones (ro0NL)
This PR was merged into the 3.2 branch. Discussion ---------- [Form] Static call TimezoneType::getTimezones | Q | A | ------------- | --- | Branch? | 3.2 | Bug fix? | no | New feature? | no <!-- don't forget updating src/**/CHANGELOG.md files --> | BC breaks? | no | Deprecations? | no <!-- don't forget updating UPGRADE-*.md files --> | Tests pass? | yes | Fixed tickets | #... <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | symfony/symfony-docs#... <!--highly recommended for new features--> Spotted in symfony#23648 Commits ------- fe48ab1 [Form] Static call TimezoneType::getTimezones
2 parents 945596b + fe48ab1 commit 5e89278

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Form/Extension/Core/Type/TimezoneType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function loadChoiceList($value = null)
6666
return $this->choiceList;
6767
}
6868

69-
return $this->choiceList = new ArrayChoiceList($this->getTimezones(), $value);
69+
return $this->choiceList = new ArrayChoiceList(self::getTimezones(), $value);
7070
}
7171

7272
/**

0 commit comments

Comments
 (0)