Completed
Pull Request — development (#820)
by
unknown
04:51
created
htdocs_symfony/src/Repository/CoordinatesRepository.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -751,8 +751,9 @@
 block discarded – undo
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(),
Please login to merge, or discard this patch.