@@ -13,6 +13,6 @@ |
||
| 13 | 13 | |
| 14 | 14 | public function validatedBy() |
| 15 | 15 | { |
| 16 | - return get_class($this).'Validator'; |
|
| 16 | + return get_class($this) . 'Validator'; |
|
| 17 | 17 | } |
| 18 | 18 | } |
@@ -11,16 +11,16 @@ |
||
| 11 | 11 | ****************/ |
| 12 | 12 | interface RulePlayerInterface |
| 13 | 13 | { |
| 14 | - public function setPlayerDefaultValues(PlayerVersion $version, PositionInterface $position):?PlayerVersion; |
|
| 14 | + public function setPlayerDefaultValues(PlayerVersion $version, PositionInterface $position): ?PlayerVersion; |
|
| 15 | 15 | public function playerIsDisposable(PlayerVersion $playerVersion):bool; |
| 16 | - public function getInjury(string $key):?object; |
|
| 16 | + public function getInjury(string $key): ?object; |
|
| 17 | 17 | public function getAvailablePlayerKeyTypes(string $roster):array; |
| 18 | 18 | public function getAvailablePlayerTypes(string $roster):array; |
| 19 | 19 | |
| 20 | 20 | /************************** |
| 21 | 21 | * PLAYER EVOLUTION METHOD |
| 22 | 22 | *************************/ |
| 23 | - public function getSppLevel(PlayerVersion $version):?string; |
|
| 24 | - public function getContextForRoll(array $roll):?array; |
|
| 25 | - public function getAvailableSkills(?PlayerVersion $version, array $context = null):?ArrayCollection; |
|
| 23 | + public function getSppLevel(PlayerVersion $version): ?string; |
|
| 24 | + public function getContextForRoll(array $roll): ?array; |
|
| 25 | + public function getAvailableSkills(?PlayerVersion $version, array $context = null): ?ArrayCollection; |
|
| 26 | 26 | } |