Completed
Push — master ( 843ccd...b2206c )
by Jakub
02:38
created
src/Equipment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
   }
53 53
   
54 54
   protected function configureOptions(OptionsResolver $resolver): void {
55
-    $allStats = ["id", "name", "slot", "type", "strength", "worn",];
55
+    $allStats = ["id", "name", "slot", "type", "strength", "worn", ];
56 56
     $resolver->setRequired($allStats);
57 57
     $resolver->setAllowedTypes("id", "integer");
58 58
     $resolver->setAllowedTypes("name", "string");
Please login to merge, or discard this patch.
src/CombatBase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     $this->onCombatEnd[] = [$this, "logCombatResult"];
83 83
     $this->onCombatEnd[] = [$this, "resetInitiative"];
84 84
     $this->onRoundStart[] = [$this, "decreaseEffectsDuration"];
85
-    $this->onRoundStart[] = [$this ,"recalculateStats"];
85
+    $this->onRoundStart[] = [$this, "recalculateStats"];
86 86
     $this->onRoundStart[] = [$this, "logRoundNumber"];
87 87
     $this->onRoundStart[] = [$this, "applyPoison"];
88 88
     $this->onRound[] = [$this, "mainStage"];
@@ -363,7 +363,7 @@  discard block
 block discarded – undo
363 363
         return null;
364 364
       }
365 365
       /** @var Team $enemies */
366
-      $enemies = Team::fromArray($enemyTeam->getItems(["positionRow" => $rowToAttack, "hitpoints>" => 0,]), $enemyTeam->name);
366
+      $enemies = Team::fromArray($enemyTeam->getItems(["positionRow" => $rowToAttack, "hitpoints>" => 0, ]), $enemyTeam->name);
367 367
     } else {
368 368
       $enemies = $enemyTeam;
369 369
     }
Please login to merge, or discard this patch.