[Form] Static call TimezoneType::getTimezones

This commit is contained in:
Roland Franssen 2017-07-24 20:55:44 +02:00 committed by GitHub
parent 945596b7cf
commit fe48ab1f8b

View File

@ -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);
}
/**