Fix the rolls and my rolls types
This commit is contained in:
parent
43269f1840
commit
eea8109625
@ -58,8 +58,8 @@ class Round implements ModelInterface, ArrayAccess {
|
||||
'number' => 'int',
|
||||
'turns' => Turn::class . '[]',
|
||||
'loser' => Player::class,
|
||||
'my_rolls' => 'int[]',
|
||||
'rolls' => 'int[][]',
|
||||
'my_rolls' => 'object',
|
||||
'rolls' => 'object',
|
||||
];
|
||||
|
||||
/**
|
||||
@ -281,7 +281,7 @@ class Round implements ModelInterface, ArrayAccess {
|
||||
/**
|
||||
* Gets my_rolls
|
||||
*
|
||||
* @return int[][]
|
||||
* @return int[]
|
||||
*/
|
||||
public function getMyRolls() {
|
||||
return $this->container['my_rolls'];
|
||||
@ -290,7 +290,7 @@ class Round implements ModelInterface, ArrayAccess {
|
||||
/**
|
||||
* Sets my_rolls
|
||||
*
|
||||
* @param int[][] $my_rolls my_rolls
|
||||
* @param int[] $my_rolls my_rolls
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
@ -303,7 +303,7 @@ class Round implements ModelInterface, ArrayAccess {
|
||||
/**
|
||||
* Gets rolls
|
||||
*
|
||||
* @return int[]
|
||||
* @return int[][]
|
||||
*/
|
||||
public function getRolls() {
|
||||
return $this->container['rolls'];
|
||||
@ -312,7 +312,7 @@ class Round implements ModelInterface, ArrayAccess {
|
||||
/**
|
||||
* Sets rolls
|
||||
*
|
||||
* @param int[] $rolls rolls
|
||||
* @param int[][] $rolls rolls
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user