Skip to content

Commit 9078471

Browse files
authored
Fix toArray() method
1 parent e2e8296 commit 9078471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Timezones/Timezones.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public function toArray()
194194
}
195195

196196
// Add all timezone of the regions to return
197-
foreach ($this->continents as $continent => $mask) {
197+
foreach ($this->regions as $continent => $mask) {
198198
$timezones = DateTimeZone::listIdentifiers($mask);
199199
foreach ($timezones as $timezone) {
200200
$list[$continent][$timezone] = $this->formatTimezone($timezone, $continent);

0 commit comments

Comments
 (0)