@@ -348,7 +348,7 @@ discard block |
||
| 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 |
||
| 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 | |