Test Failed
Push — master ( 8ff729...bf81a5 )
by Julien
03:11
created
src/models/Tree.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use App\User;
7 7
 use Illuminate\Database\Eloquent\Model;
8 8
 use Illuminate\Support\Collection;
9
-use Xoco70\KendoTournaments\TreeGen\TreeGen;
10 9
 
11 10
 class Tree extends Model
12 11
 {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
 
128 128
         // Delete previous fight for this championship
129 129
 
130
-        $arrayTreeId = $tree->map(function ($value, $key) {
130
+        $arrayTreeId = $tree->map(function($value, $key) {
131 131
             return $value->id;
132 132
         })->toArray();
133 133
         Fight::destroy($arrayTreeId);
Please login to merge, or discard this patch.