Test Failed
Push — master ( 0463aa...316b3e )
by Julien
11:52
created
src/TreeGen/TreeGen.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
         $round = 1;
56 56
         $winnersPerGroup = $this->settings->preliminaryWinner;
57 57
         // loop on areas
58
-        $tree = $this->generateGroupsForFirstRound($usersByArea, $area, $round );
58
+        $tree = $this->generateGroupsForFirstRound($usersByArea, $area, $round);
59 59
         $round++;
60 60
 
61 61
         $numGroups = sizeof($tree);
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
     private function getTreeSize($fighterCount, $groupSize)
158 158
     {
159 159
         $square = collect([1, 2, 4, 8, 16, 32, 64]);
160
-        $squareMultiplied = $square->map(function ($item, $key) use ($groupSize) {
160
+        $squareMultiplied = $square->map(function($item, $key) use ($groupSize) {
161 161
             return $item * $groupSize;
162 162
         });
163 163
 
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
      * @param $round
294 294
      * @return FightersGroup
295 295
      */
296
-    public function saveGroup($area, $fighters, $order,$round)
296
+    public function saveGroup($area, $fighters, $order, $round)
297 297
     {
298 298
         $fighters = $fighters->pluck('id')->shuffle();
299 299
 
Please login to merge, or discard this patch.