diff --git a/Geonames.php b/Geonames.php index ec999bf..a8f5b07 100644 --- a/Geonames.php +++ b/Geonames.php @@ -133,7 +133,7 @@ public function getCountryInfo(?string $country = null, ?string $locale = null): ->setBounds($item->south, $item->west, $item->north, $item->east) ->withContinent($item->continent ?? null) ->withCapital($item->capital ?? null) - ->withLanguages($item->langesuages ?? '') + ->withLanguages($item->languages ?? '') ->withGeonameId($item->geonameId ?? null) ->withIsoAlpha3($item->isoAlpha3 ?? null) ->withFipsCode($item->fipsCode ?? null)