@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * PHPCoord |
|
| 4 | - * @package PHPCoord |
|
| 5 | - * @author Jonathan Stott |
|
| 6 | - * @author Doug Wright |
|
| 7 | - */ |
|
| 3 | + * PHPCoord |
|
| 4 | + * @package PHPCoord |
|
| 5 | + * @author Jonathan Stott |
|
| 6 | + * @author Doug Wright |
|
| 7 | + */ |
|
| 8 | 8 | namespace PHPCoord; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * PHPCoord |
|
| 4 | - * @package PHPCoord |
|
| 5 | - * @author Jonathan Stott |
|
| 6 | - * @author Doug Wright |
|
| 7 | - */ |
|
| 3 | + * PHPCoord |
|
| 4 | + * @package PHPCoord |
|
| 5 | + * @author Jonathan Stott |
|
| 6 | + * @author Doug Wright |
|
| 7 | + */ |
|
| 8 | 8 | namespace PHPCoord; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * PHPCoord |
|
| 4 | - * @package PHPCoord |
|
| 5 | - * @author Jonathan Stott |
|
| 6 | - * @author Doug Wright |
|
| 7 | - */ |
|
| 3 | + * PHPCoord |
|
| 4 | + * @package PHPCoord |
|
| 5 | + * @author Jonathan Stott |
|
| 6 | + * @author Doug Wright |
|
| 7 | + */ |
|
| 8 | 8 | namespace PHPCoord; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * PHPCoord |
|
| 4 | - * @package PHPCoord |
|
| 5 | - * @author Jonathan Stott |
|
| 6 | - * @author Doug Wright |
|
| 7 | - */ |
|
| 3 | + * PHPCoord |
|
| 4 | + * @package PHPCoord |
|
| 5 | + * @author Jonathan Stott |
|
| 6 | + * @author Doug Wright |
|
| 7 | + */ |
|
| 8 | 8 | namespace PHPCoord; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -383,7 +383,7 @@ discard block |
||
| 383 | 383 | trigger_error('Current co-ordinates are in a non-WGS84 datum', E_USER_WARNING); |
| 384 | 384 | } |
| 385 | 385 | |
| 386 | - $longitudeZone = (int)(($this->lng + 180) / 6) + 1; |
|
| 386 | + $longitudeZone = (int) (($this->lng + 180) / 6) + 1; |
|
| 387 | 387 | |
| 388 | 388 | // Special zone for Norway |
| 389 | 389 | if ($this->lat >= 56 && $this->lat < 64 && $this->lng >= 3 && $this->lng < 12) { |
@@ -440,7 +440,7 @@ discard block |
||
| 440 | 440 | } |
| 441 | 441 | |
| 442 | 442 | $zones = "CDEFGHJKLMNPQRSTUVWXX"; |
| 443 | - $zoneIndex = (int)(($latitude + 80) / 8); |
|
| 443 | + $zoneIndex = (int) (($latitude + 80) / 8); |
|
| 444 | 444 | return $zones[$zoneIndex]; |
| 445 | 445 | } |
| 446 | 446 | |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * PHPCoord |
|
| 4 | - * @package PHPCoord |
|
| 5 | - * @author Jonathan Stott |
|
| 6 | - * @author Doug Wright |
|
| 7 | - */ |
|
| 3 | + * PHPCoord |
|
| 4 | + * @package PHPCoord |
|
| 5 | + * @author Jonathan Stott |
|
| 6 | + * @author Doug Wright |
|
| 7 | + */ |
|
| 8 | 8 | namespace PHPCoord; |
| 9 | 9 | |
| 10 | 10 | /** |