@@ -48,6 +48,9 @@ |
||
48 | 48 | return strtolower($type); |
49 | 49 | } |
50 | 50 | |
51 | + /** |
|
52 | + * @param integer $diceCount |
|
53 | + */ |
|
51 | 54 | private function buildNDice($diceCount, callable $constructorFunction) |
52 | 55 | { |
53 | 56 | $newDice = []; |
@@ -14,10 +14,10 @@ |
||
14 | 14 | public function __construct() |
15 | 15 | { |
16 | 16 | $this->diceTypeMappings = [ |
17 | - 'steve' => function () { |
|
17 | + 'steve' => function() { |
|
18 | 18 | return new Dice\SteveDice(); |
19 | 19 | }, |
20 | - 'fate' => function () { |
|
20 | + 'fate' => function() { |
|
21 | 21 | return new Dice\FateDice(); |
22 | 22 | }, |
23 | 23 | ]; |