Completed
Branch master (3c4a39)
by Doug
02:50
created
LatLng.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -348,7 +348,7 @@  discard block
 block discarded – undo
348 348
             trigger_error('Current co-ordinates are in a non-WGS84 datum', E_USER_WARNING);
349 349
         }
350 350
 
351
-        $longitudeZone = (int)(($this->lng + 180) / 6) + 1;
351
+        $longitudeZone = (int) (($this->lng + 180) / 6) + 1;
352 352
 
353 353
         // Special zone for Norway
354 354
         if ($this->lat >= 56 && $this->lat < 64 && $this->lng >= 3 && $this->lng < 12) {
@@ -405,7 +405,7 @@  discard block
 block discarded – undo
405 405
         }
406 406
 
407 407
         $zones = "CDEFGHJKLMNPQRSTUVWXX";
408
-        $zoneIndex = (int)(($aLatitude + 80) / 8);
408
+        $zoneIndex = (int) (($aLatitude + 80) / 8);
409 409
         return $zones[$zoneIndex];
410 410
     }
411 411
 
Please login to merge, or discard this patch.