Minor fixes.
This commit is contained in:
parent
ddf09fe00c
commit
c8b93095dc
7 changed files with 26 additions and 32 deletions
|
|
@ -19,7 +19,6 @@ class GameBoard
|
|||
*/
|
||||
protected GameBoardState $state;
|
||||
|
||||
|
||||
/**
|
||||
* Create a new board.
|
||||
*/
|
||||
|
|
@ -56,7 +55,7 @@ class GameBoard
|
|||
/**
|
||||
* Clear the game board.
|
||||
*/
|
||||
public function clear()
|
||||
public function clear() : void
|
||||
{
|
||||
$this->state->clear();
|
||||
}
|
||||
|
|
@ -72,6 +71,8 @@ class GameBoard
|
|||
|
||||
/**
|
||||
* Regenerate the board with new cards.
|
||||
*
|
||||
* @throw NotEnoughCardsException
|
||||
*/
|
||||
public function regenerate(GameSettings $settings) : self
|
||||
{
|
||||
|
|
|
|||
Reference in a new issue