Passed
Push — master ( 0d8198...7c8b7e )
by Jakub
03:48
created
src/CharacterEffect.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
   
Please login to merge, or discard this patch.