Completed
Push — master ( 5eb6e2...5eaa75 )
by Jakub
05:29
created
src/Pet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
   }
38 38
 
39 39
   protected function configureOptions(OptionsResolver $resolver): void {
40
-    $allStats = ["id", "deployed", "bonusStat", "bonusValue",];
40
+    $allStats = ["id", "deployed", "bonusStat", "bonusValue", ];
41 41
     $resolver->setRequired($allStats);
42 42
     $resolver->setAllowedTypes("id", "integer");
43 43
     $resolver->setAllowedTypes("deployed", "boolean");
Please login to merge, or discard this patch.
src/CombatAction.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,8 +60,8 @@  discard block
 block discarded – undo
60 60
   }
61 61
 
62 62
   protected function configureOptions(OptionsResolver $resolver): void {
63
-    $requiredStats = ["action", "result", "character1", "character2",];
64
-    $resolver->setDefined(["amount", "name",]);
63
+    $requiredStats = ["action", "result", "character1", "character2", ];
64
+    $resolver->setDefined(["amount", "name", ]);
65 65
     $resolver->setRequired($requiredStats);
66 66
     $resolver->setAllowedTypes("action", "string");
67 67
     $resolver->setAllowedValues("action", function(string $value) {
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
         $text = $this->translator->translate("combat.log.poison", $this->amount, ["character1" => $character1]);
155 155
         break;
156 156
     }
157
-    $this->message =  $text;
157
+    $this->message = $text;
158 158
   }
159 159
   
160 160
   public function __toString(): string {
Please login to merge, or discard this patch.
src/CharacterEffect.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
   }
74 74
 
75 75
   protected function configureOptions(OptionsResolver $resolver): void {
76
-    $allStats = ["id", "type", "source", "value", "duration", "stat",];
76
+    $allStats = ["id", "type", "source", "value", "duration", "stat", ];
77 77
     $resolver->setRequired($allStats);
78 78
     $resolver->setAllowedTypes("id", "string");
79 79
     $resolver->setAllowedTypes("type", "string");
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
   
100 100
   protected function getAllowedStats(): array {
101 101
     $stats = Constants::getConstantsValues(Character::class, "STAT_");
102
-    $stats = array_merge($stats, ["strength", "dexterity", "constitution", "intelligence", "charisma",]);
102
+    $stats = array_merge($stats, ["strength", "dexterity", "constitution", "intelligence", "charisma", ]);
103 103
     return $stats;
104 104
   }
105 105
   
Please login to merge, or discard this patch.