@@ -275,7 +275,7 @@ |
||
275 | 275 | /** |
276 | 276 | * Returns the other coordinate who is not the coordinate passed on argument |
277 | 277 | * @param CoordinateInterface $coordinate |
278 | - * @return null|Coordinate |
|
278 | + * @return CoordinateInterface|null |
|
279 | 279 | */ |
280 | 280 | public function getOtherCoordinate(CoordinateInterface $coordinate) { |
281 | 281 | if ($coordinate->isEqual($this->from)) { |