Passed
Push — master ( 753c29...63bf16 )
by Julien
17:54
created
src/TreeGen/TreeGen.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@
 block discarded – undo
196 196
     private function getTreeSize($fighterCount, $groupSize)
197 197
     {
198 198
         $square = collect([1, 2, 4, 8, 16, 32, 64]);
199
-        $squareMultiplied = $square->map(function ($item, $key) use ($groupSize) {
199
+        $squareMultiplied = $square->map(function($item, $key) use ($groupSize) {
200 200
             return $item * $groupSize;
201 201
         });
202 202
 
Please login to merge, or discard this patch.
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -252,8 +252,9 @@  discard block
 block discarded – undo
252 252
     }
253 253
 
254 254
     /**
255
-     * @param $usersByArea
256
-     * @param $area
255
+     * @param Collection $usersByArea
256
+     * @param integer $area
257
+     * @param integer $round
257 258
      *
258 259
      */
259 260
     public function generateGroupsForRound($usersByArea, $area, $round)
@@ -283,7 +284,7 @@  discard block
 block discarded – undo
283 284
     /**
284 285
      * @param $fighters
285 286
      * @param $area
286
-     * @param $order
287
+     * @param integer $order
287 288
      * @param $round
288 289
      * @return FightersGroup
289 290
      */
@@ -351,6 +352,9 @@  discard block
 block discarded – undo
351 352
             : new Competitor();
352 353
     }
353 354
 
355
+    /**
356
+     * @param integer $groupSize
357
+     */
354 358
     public function createByeGroup($groupSize): Collection
355 359
     {
356 360
         $byeFighter = $this->createByeFighter();
Please login to merge, or discard this patch.
database/migrations/2016_10_24_223706_create_FightersGroup_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('fighters_groups', function (Blueprint $table) {
16
+        Schema::create('fighters_groups', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->tinyInteger('short_id');
19 19
             $table->integer('championship_id')->unsigned()->index();
Please login to merge, or discard this patch.