From 9078471aba09e1e8d184c9463f85382fe37d9508 Mon Sep 17 00:00:00 2001 From: Nathan Johnson Date: Sat, 13 Jun 2020 19:33:02 -0400 Subject: [PATCH] Fix toArray() method --- src/Timezones/Timezones.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Timezones/Timezones.php b/src/Timezones/Timezones.php index 2472102..eed8e14 100644 --- a/src/Timezones/Timezones.php +++ b/src/Timezones/Timezones.php @@ -194,7 +194,7 @@ public function toArray() } // Add all timezone of the regions to return - foreach ($this->continents as $continent => $mask) { + foreach ($this->regions as $continent => $mask) { $timezones = DateTimeZone::listIdentifiers($mask); foreach ($timezones as $timezone) { $list[$continent][$timezone] = $this->formatTimezone($timezone, $continent);