Skip to content

Commit

Permalink
Neighbors is a better name than adjacents.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Baker committed May 14, 2016
1 parent 0603abf commit b2bf19a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion point.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand Down

0 comments on commit b2bf19a

Please sign in to comment.