@@ -751,8 +751,9 @@ |
||
| 751 | 751 | public function getAllCoordinatesFormatsAsArray(float $newLat = null, float $newLon = null) |
| 752 | 752 | : array |
| 753 | 753 | { |
| 754 | - if (($newLat != null) && ($newLon != null)) |
|
| 755 | - $this->setLatLon($newLat, $newLon); |
|
| 754 | + if (($newLat != null) && ($newLon != null)) { |
|
| 755 | + $this->setLatLon($newLat, $newLon); |
|
| 756 | + } |
|
| 756 | 757 | |
| 757 | 758 | return [ |
| 758 | 759 | 'coord_Decimal' => $this->getDecimal(), |