@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | * Returns the initial bearing from the origin coordinate |
130 | 130 | * to the destination coordinate in degrees. |
131 | 131 | * |
132 | - * @return float The initial bearing in degrees |
|
132 | + * @return integer The initial bearing in degrees |
|
133 | 133 | */ |
134 | 134 | public function initialBearing() |
135 | 135 | { |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | * Returns the final bearing from the origin coordinate |
150 | 150 | * to the destination coordinate in degrees. |
151 | 151 | * |
152 | - * @return float The final bearing in degrees |
|
152 | + * @return integer The final bearing in degrees |
|
153 | 153 | */ |
154 | 154 | public function finalBearing() |
155 | 155 | { |
@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | /** |
265 | 265 | * Returns the other coordinate who is not the coordinate passed on argument |
266 | 266 | * @param CoordinateInterface $coordinate |
267 | - * @return null|Coordinate |
|
267 | + * @return CoordinateInterface|null |
|
268 | 268 | */ |
269 | 269 | public function getOtherCoordinate(CoordinateInterface $coordinate) { |
270 | 270 | if ($coordinate->isEqual($this->from)) { |