Format code using php-cs-fixer
This commit is contained in:
parent
43d7dc92cd
commit
d52c6184b9
352 changed files with 17473 additions and 17041 deletions
|
@ -4,7 +4,7 @@ class Application_Common_Timezone
|
|||
{
|
||||
public static function getTimezones()
|
||||
{
|
||||
$regions = array(
|
||||
$regions = [
|
||||
'Africa' => DateTimeZone::AFRICA,
|
||||
'America' => DateTimeZone::AMERICA,
|
||||
'Antarctica' => DateTimeZone::ANTARCTICA,
|
||||
|
@ -15,15 +15,15 @@ class Application_Common_Timezone
|
|||
'Europe' => DateTimeZone::EUROPE,
|
||||
'Indian' => DateTimeZone::INDIAN,
|
||||
'Pacific' => DateTimeZone::PACIFIC,
|
||||
'UTC' => DateTimeZone::UTC
|
||||
);
|
||||
'UTC' => DateTimeZone::UTC,
|
||||
];
|
||||
|
||||
$tzlist = array(NULL => _("Use station default"));
|
||||
$tzlist = [null => _('Use station default')];
|
||||
|
||||
foreach ($regions as $name => $mask) {
|
||||
$ids = DateTimeZone::listIdentifiers($mask);
|
||||
foreach ($ids as $id) {
|
||||
$tzlist[$id] = str_replace("_", " ", $id);
|
||||
$tzlist[$id] = str_replace('_', ' ', $id);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue