Test Failed
Push — master ( 525d7d...e997c9 )
by Julien
04:11
created
database/seeds/TournamentSeeder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Illuminate\Database\QueryException;
4 3
 use Illuminate\Database\Seeder;
5 4
 use Xoco70\KendoTournaments\Models\Championship;
6 5
 use Xoco70\KendoTournaments\Models\Venue;
Please login to merge, or discard this patch.
src/models/Tree.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
 
219 219
     /**
220 220
      * @param Collection $tree
221
-     * @param $settings
221
+     * @param ChampionshipSettings $settings
222 222
      */
223 223
     public static function generateFights(Collection $tree, $settings, Championship $championship = null)
224 224
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 
6 6
 use Illuminate\Database\Eloquent\Model;
7 7
 use Illuminate\Support\Collection;
8
-use Illuminate\Support\Facades\Config;
9 8
 use Xoco70\KendoTournaments\TreeGen\TreeGen;
10 9
 
11 10
 class Tree extends Model
Please login to merge, or discard this patch.
src/TreeGen/TreeGen.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@  discard block
 block discarded – undo
20 20
     public $championship, $settings;
21 21
 
22 22
 
23
+    /**
24
+     * @param \Xoco70\KendoTournaments\Models\ChampionshipSettings $settings
25
+     */
23 26
     public function __construct(Championship $championship, $groupBy, $settings)
24 27
     {
25 28
         $this->championship = $championship;
@@ -257,7 +260,7 @@  discard block
 block discarded – undo
257 260
 
258 261
     /**
259 262
      * @param $userGroups
260
-     * @param $max
263
+     * @param integer $max
261 264
      * @return Collection
262 265
      */
263 266
     private function repart($userGroups, $max)
Please login to merge, or discard this patch.