Test Failed
Push — master ( 84ef8e...92b331 )
by Julien
08:45
created
src/models/Fight.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
130 130
         foreach ($groups as $group) {
131 131
 
132 132
             $fighters = $group->getFighters();
133
-            [$fighter1, $fighter2, $fighter3 ] = $fighters;
133
+            [$fighter1, $fighter2, $fighter3] = $fighters;
134 134
 
135 135
             switch ($numGroup) {
136 136
                 case 1:
Please login to merge, or discard this patch.
src/models/Championship.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -169,8 +169,9 @@
 block discarded – undo
169 169
 
170 170
     public function buildName()
171 171
     {
172
-        if ($this->settings != null && $this->settings->alias != null)
173
-            return $this->settings->alias;
172
+        if ($this->settings != null && $this->settings->alias != null) {
173
+                    return $this->settings->alias;
174
+        }
174 175
 
175 176
         if ($this->hasNoCustomSettings()) {
176 177
             return $this->category->name;
Please login to merge, or discard this patch.