From 4656be5a32d84233b39d5cde7383286da47e258c Mon Sep 17 00:00:00 2001 From: thisfro Date: Thu, 15 Jul 2021 16:00:55 +0200 Subject: [PATCH] Use less amigous function name --- src/Service/PlzToCoordinate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Service/PlzToCoordinate.php b/src/Service/PlzToCoordinate.php index 30601f1..a156fa0 100644 --- a/src/Service/PlzToCoordinate.php +++ b/src/Service/PlzToCoordinate.php @@ -6,7 +6,7 @@ use Location\Coordinate; class PlzToCoordinate { - public function getCoordinates(int $plz) + public function convertPlzToCoordinate(int $plz) { $content = file_get_contents("https://swisspost.opendatasoft.com/api/records/1.0/search/?dataset=plz_verzeichnis_v2&q=postleitzahl%3D" . $plz); $result = json_decode($content);