diff --git a/point.php b/point.php index 0dd0bba..f0d3432 100644 --- a/point.php +++ b/point.php @@ -31,7 +31,7 @@ public function next(Direction $direction) { return new Point($x, $y); } - public function adjacents() { + public function neighbors() { return [ $this->next(Direction::up()), $this->next(Direction::right()),