@@ -130,7 +130,7 @@ |
||
| 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: |
@@ -169,8 +169,9 @@ |
||
| 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; |