Fix typos
This commit is contained in:
parent
72418dd5a4
commit
d0feff7d74
2 changed files with 2 additions and 2 deletions
|
@ -146,7 +146,7 @@ class Offering
|
||||||
|
|
||||||
public function getCoordinate(): ?Coordinate
|
public function getCoordinate(): ?Coordinate
|
||||||
{
|
{
|
||||||
$coordinate = new Coordinate($this->long, $this->lat);
|
$coordinate = new Coordinate($this->lat, $this->lng);
|
||||||
|
|
||||||
return $coordinate;
|
return $coordinate;
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ class PlzToCoordinate
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$lat = $result->records[$i]->fields->geo_point_2d[0];
|
$lat = $result->records[$i]->fields->geo_point_2d[0];
|
||||||
$long = $result->records[$i]->fields->geo_point_2d[0];
|
$long = $result->records[$i]->fields->geo_point_2d[1];
|
||||||
} catch (\Throwable $th) {
|
} catch (\Throwable $th) {
|
||||||
// throw $th;
|
// throw $th;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue