Completed
Push — master ( 133d40...231da4 )
by Jakub
01:59
created
src/CombatBase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     $this->onCombatEnd[] = [$this, "resetInitiative"];
75 75
     $this->onRoundStart[] = [$this, "applyEffectProviders"];
76 76
     $this->onRoundStart[] = [$this, "decreaseEffectsDuration"];
77
-    $this->onRoundStart[] = [$this ,"recalculateStats"];
77
+    $this->onRoundStart[] = [$this, "recalculateStats"];
78 78
     $this->onRoundStart[] = [$this, "logRoundNumber"];
79 79
     $this->onRoundStart[] = [$this, "applyPoison"];
80 80
     $this->onRound[] = [$this, "mainStage"];
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
         return null;
357 357
       }
358 358
       /** @var Team $enemies */
359
-      $enemies = Team::fromArray($enemyTeam->getItems(["positionRow" => $rowToAttack, "hitpoints>" => 0,]), $enemyTeam->name);
359
+      $enemies = Team::fromArray($enemyTeam->getItems(["positionRow" => $rowToAttack, "hitpoints>" => 0, ]), $enemyTeam->name);
360 360
     } else {
361 361
       $enemies = $enemyTeam;
362 362
     }
Please login to merge, or discard this patch.