@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | * Returns the initial bearing from the origin coordinate |
| 127 | 127 | * to the destination coordinate in degrees. |
| 128 | 128 | * |
| 129 | - * @return float The initial bearing in degrees |
|
| 129 | + * @return integer The initial bearing in degrees |
|
| 130 | 130 | */ |
| 131 | 131 | public function initialBearing() |
| 132 | 132 | { |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | * Returns the final bearing from the origin coordinate |
| 147 | 147 | * to the destination coordinate in degrees. |
| 148 | 148 | * |
| 149 | - * @return float The final bearing in degrees |
|
| 149 | + * @return integer The final bearing in degrees |
|
| 150 | 150 | */ |
| 151 | 151 | public function finalBearing() |
| 152 | 152 | { |
@@ -260,8 +260,7 @@ discard block |
||
| 260 | 260 | |
| 261 | 261 | /** |
| 262 | 262 | * Returns the other coordinate who is not the coordinate passed on argument |
| 263 | - * @param Coordinate $point |
|
| 264 | - * @return null|Coordinate |
|
| 263 | + * @return CoordinateInterface|null |
|
| 265 | 264 | */ |
| 266 | 265 | public function getOtherCoordinate(CoordinateInterface $coordinate) { |
| 267 | 266 | if ($coordinate->isEqual($this->from)) { |