Skip to content

Commit b12b6e4

Browse files
Merge pull request #34 from mixisLv/patch-1
Update Countries.php
2 parents 97c9fb5 + 2c81d22 commit b12b6e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Countries.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public function hasCountryCode(string $code) : bool
280280
*/
281281
public function isCountryCodeInEU(string $code) : bool
282282
{
283-
$eu = ['AT', 'BE', 'BG', 'CY', 'CZ', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'GR', 'HU', 'HR', 'IE', 'IT', 'LT', 'LU', 'LV', 'MT', 'NL', 'PL', 'PT', 'RO', 'SE', 'SI', 'SK'];
283+
$eu = ['AT', 'BE', 'BG', 'CY', 'CZ', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GR', 'HU', 'HR', 'IE', 'IT', 'LT', 'LU', 'LV', 'MT', 'NL', 'PL', 'PT', 'RO', 'SE', 'SI', 'SK'];
284284

285285
// Brexit transition period ends on Dec 31 23:59, so this method should return true only until then
286286
if ((new DateTime('now')) < (new DateTime('2021-01-01 00:00:00'))) {

0 commit comments

Comments
 (0)