@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace HeroesofAbenez\Combat; |
| 5 | 5 | |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | public $onRemove = []; |
| 47 | 47 | |
| 48 | 48 | public function __construct(array $effect) { |
| 49 | - $allStats = ["id", "type", "source", "value", "duration", "stat",]; |
|
| 49 | + $allStats = ["id", "type", "source", "value", "duration", "stat", ]; |
|
| 50 | 50 | $resolver = new OptionsResolver(); |
| 51 | 51 | $resolver->setRequired($allStats); |
| 52 | 52 | $resolver->setAllowedTypes("id", "string"); |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | |
| 86 | 86 | protected function getAllowedStats(): array { |
| 87 | 87 | $stats = Constants::getConstantsValues(SkillSpecial::class, "STAT_"); |
| 88 | - $stats = array_merge($stats, ["strength", "dexterity", "constitution", "intelligence", "charisma",]); |
|
| 88 | + $stats = array_merge($stats, ["strength", "dexterity", "constitution", "intelligence", "charisma", ]); |
|
| 89 | 89 | return $stats; |
| 90 | 90 | } |
| 91 | 91 | |