@@ -343,8 +343,8 @@ discard block |
||
| 343 | 343 | } |
| 344 | 344 | |
| 345 | 345 | /** |
| 346 | - * @param $bw |
|
| 347 | - * @param $lw |
|
| 346 | + * @param double $bw |
|
| 347 | + * @param double $lw |
|
| 348 | 348 | * |
| 349 | 349 | * @return float[] |
| 350 | 350 | */ |
@@ -433,10 +433,10 @@ discard block |
||
| 433 | 433 | } |
| 434 | 434 | |
| 435 | 435 | /** |
| 436 | - * @param $bp |
|
| 437 | - * @param $lp |
|
| 436 | + * @param double $bp |
|
| 437 | + * @param double $lp |
|
| 438 | 438 | * |
| 439 | - * @return int[] |
|
| 439 | + * @return integer[] |
|
| 440 | 440 | */ |
| 441 | 441 | public function geo2gk($bp, $lp) |
| 442 | 442 | { |
@@ -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(), |