minor #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 #23648
Commits
-------
fe48ab1f8b
[Form] Static call TimezoneType::getTimezones
This commit is contained in:
commit
5e89278a12
@ -66,7 +66,7 @@ class TimezoneType extends AbstractType implements ChoiceLoaderInterface
|
||||
return $this->choiceList;
|
||||
}
|
||||
|
||||
return $this->choiceList = new ArrayChoiceList($this->getTimezones(), $value);
|
||||
return $this->choiceList = new ArrayChoiceList(self::getTimezones(), $value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user