Skip to content

Commit

Permalink
Use + to merge configs
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Aug 24, 2015
1 parent ec38318 commit 3bc052a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/I18n/Time.php
Expand Up @@ -656,12 +656,13 @@ public static function listTimezones($filter = null, $country = null, $options =
'group' => $options,
];
}
$options = array_merge([
$defaults = [
'group' => true,
'abbr' => false,
'before' => ' - ',
'after' => null,
], $options);
];
$options += $defaults;
$group = $options['group'];

$regex = null;
Expand Down

0 comments on commit 3bc052a

Please sign in to comment.