Fix the rolls and my rolls types

This commit is contained in:
Tim 2021-12-03 01:26:50 +01:00
parent 43269f1840
commit eea8109625

View File

@ -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
*/