Skip to content

Commit

Permalink
Returns the squares defended by this piece
Browse files Browse the repository at this point in the history
  • Loading branch information
programarivm committed Jan 27, 2025
1 parent 18c836e commit 2e2139d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Variant/AbstractPiece.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function __construct(string $color, string $sq, string $id)
abstract public function moveSqs(): array;

/**
* Returns the defended squares.
* Returns the squares defended by this piece.
*
* @return array
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Variant/Classical/K.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function moveSqs(): array
}

/**
* Returns the defended squares.
* Returns the squares defended by this piece.
*
* @return array
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Variant/Classical/P.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function moveSqs(): array
}

/**
* Returns the defended squares.
* Returns the squares defended by this piece.
*
* @return array
*/
Expand Down

0 comments on commit 2e2139d

Please sign in to comment.