@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | private $precision = 8; |
49 | 49 | |
50 | 50 | /** |
51 | - * @param null|array|CoordinateCollection $coordinates |
|
51 | + * @param CoordinateCollection $coordinates |
|
52 | 52 | */ |
53 | 53 | public function __construct($coordinates = null) |
54 | 54 | { |
@@ -369,6 +369,7 @@ discard block |
||
369 | 369 | |
370 | 370 | /** |
371 | 371 | * {@inheritDoc} |
372 | + * @param integer $key |
|
372 | 373 | */ |
373 | 374 | public function get($key) |
374 | 375 | { |
@@ -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)) { |