Test Failed
Push — master ( a0dd74...a217d0 )
by Julien
03:09
created
resources/views/partials/tree/directElimination.blade.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2
-$directEliminationTree = $championship->rounds->map(function ($item, $key) use ($championship) {
3
-    if ($championship->category->isTeam()){
2
+$directEliminationTree = $championship->rounds->map(function($item, $key) use ($championship) {
3
+    if ($championship->category->isTeam()) {
4 4
 
5 5
         $fighter1 = $item->team1 != null ? $item->team1->name : "Bye";
6 6
         $fighter2 = $item->team2 != null ? $item->team2->name : "Bye";
7
-    }else{
7
+    } else {
8 8
         $fighter1 = $item->competitors[0] != null ? $item->competitor[0]->user->name : "Bye";
9 9
         $fighter2 = $item->competitors[1] != null ? $item->competitor[1]->user->name : "Bye";
10 10
     }
Please login to merge, or discard this patch.