From 577ee4e3437041bc79df0748e4b102bc8f20eac7 Mon Sep 17 00:00:00 2001 From: Assmay Date: Thu, 8 Sep 2022 18:29:08 +0300 Subject: [PATCH] Update Countries.php --- src/Countries.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Countries.php b/src/Countries.php index 9483323..22e6be6 100644 --- a/src/Countries.php +++ b/src/Countries.php @@ -32,6 +32,7 @@ public function all() public function getByName(string $name, string $separator=',') { + $result = []; $countries_name = explode($separator, $name); $countries_name = array_map('trim', $countries_name); foreach ($this->all() as $country) {