Formatting fixes and cleanup.
This commit is contained in:
parent
a1e14a3e60
commit
51fb71e469
41 changed files with 394 additions and 392 deletions
|
|
@ -28,7 +28,7 @@ class GameSession
|
|||
/**
|
||||
* Get the board
|
||||
*/
|
||||
public function getBoard() : GameBoard
|
||||
public function getBoard(): GameBoard
|
||||
{
|
||||
return $this->board;
|
||||
}
|
||||
|
|
@ -36,7 +36,7 @@ class GameSession
|
|||
/**
|
||||
* Get the board state
|
||||
*/
|
||||
public function getBoardState() : GameBoardState
|
||||
public function getBoardState(): GameBoardState
|
||||
{
|
||||
return $this->getBoard()->getState();
|
||||
}
|
||||
|
|
@ -44,7 +44,7 @@ class GameSession
|
|||
/**
|
||||
* Get Cards
|
||||
*/
|
||||
public function getCards() : Collection
|
||||
public function getCards(): Collection
|
||||
{
|
||||
return $this->getBoard()->getCards();
|
||||
}
|
||||
|
|
@ -52,7 +52,7 @@ class GameSession
|
|||
/**
|
||||
* Get Settings
|
||||
*/
|
||||
public function getSettings() : GameSettings
|
||||
public function getSettings(): GameSettings
|
||||
{
|
||||
return $this->settings;
|
||||
}
|
||||
|
|
@ -60,7 +60,7 @@ class GameSession
|
|||
/**
|
||||
* Set new settings
|
||||
*/
|
||||
public function setSettings(GameSettings $settings) : self
|
||||
public function setSettings(GameSettings $settings): self
|
||||
{
|
||||
$this->settings = $settings;
|
||||
return $this;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue