Completed
Push — master ( 54fdf8...606b80 )
by Jakub
02:17
created
src/Character.php 1 patch
Spacing   +5 added lines, -5 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
 
@@ -161,10 +161,10 @@  discard block
 block discarded – undo
161 161
   }
162 162
   
163 163
   protected function setStats(array $stats): void {
164
-    $requiredStats = ["id", "name", "level", "strength", "dexterity", "constitution", "intelligence", "charisma", "initiativeFormula",];
165
-    $allStats = array_merge($requiredStats, ["occupation", "race", "specialization", "gender", "experience",]);
166
-    $numberStats = ["strength", "dexterity", "constitution", "intelligence", "charisma",];
167
-    $textStats = ["name", "race", "occupation", "initiativeFormula",];
164
+    $requiredStats = ["id", "name", "level", "strength", "dexterity", "constitution", "intelligence", "charisma", "initiativeFormula", ];
165
+    $allStats = array_merge($requiredStats, ["occupation", "race", "specialization", "gender", "experience", ]);
166
+    $numberStats = ["strength", "dexterity", "constitution", "intelligence", "charisma", ];
167
+    $textStats = ["name", "race", "occupation", "initiativeFormula", ];
168 168
     $resolver = new OptionsResolver();
169 169
     $resolver->setDefined($allStats);
170 170
     $resolver->setAllowedTypes("id", ["integer", "string"]);
Please login to merge, or discard this patch.
src/VictoryConditions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 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
 
Please login to merge, or discard this patch.