|
@@ -27,7 +27,7 @@ discard block |
|
|
block discarded – undo |
|
27
|
27
|
public const TARGET_PARTY = "party"; |
|
28
|
28
|
public const TARGET_ENEMY_PARTY = "enemy_party"; |
|
29
|
29
|
/** @var string[] */ |
|
30
|
|
- public const NO_STAT_TYPES = [self::TYPE_STUN, self::TYPE_POISON, self::TYPE_HIDE,]; |
|
|
30
|
+ public const NO_STAT_TYPES = [self::TYPE_STUN, self::TYPE_POISON, self::TYPE_HIDE, ]; |
|
31
|
31
|
|
|
32
|
32
|
/** @var string */ |
|
33
|
33
|
protected $type; |
|
@@ -57,7 +57,7 @@ discard block |
|
|
block discarded – undo |
|
57
|
57
|
|
|
58
|
58
|
protected function configureOptions(OptionsResolver $resolver): void { |
|
59
|
59
|
parent::configureOptions($resolver); |
|
60
|
|
- $allStats = ["type", "stat", "value", "valueGrowth", "duration",]; |
|
|
60
|
+ $allStats = ["type", "stat", "value", "valueGrowth", "duration", ]; |
|
61
|
61
|
$resolver->setRequired($allStats); |
|
62
|
62
|
$resolver->setAllowedTypes("type", "string"); |
|
63
|
63
|
$resolver->setAllowedValues("type", function(string $value) { |
Please login to merge, or discard this patch.