Archived
1
0
Fork 0

Minor fixes.

This commit is contained in:
Henrik Hautakoski 2021-11-04 12:14:52 +01:00
parent ddf09fe00c
commit c8b93095dc
7 changed files with 26 additions and 32 deletions

View file

@ -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
{