Skip to content

Commit

Permalink
Don't pass unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Baker committed May 14, 2016
1 parent 46ec8cb commit 0fec6dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion placement.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function tile() {
public function isLegal(Board $board) {
$lines = $this->lines($board);
foreach ($lines as $line) {
if (!$line->isLegal($line)) {
if (!$line->isLegal()) {
return false;
}
}
Expand Down

0 comments on commit 0fec6dc

Please sign in to comment.