@@ -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)) { |
@@ -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 | { |