@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | |
29 | 29 | public function build() |
30 | 30 | { |
31 | - $fighters = $this->groupsByRound->first()->map(function ($item) { |
|
31 | + $fighters = $this->groupsByRound->first()->map(function($item) { |
|
32 | 32 | $fighters = $item->getFightersWithBye(); |
33 | 33 | $fighter1 = $fighters->get(0); |
34 | 34 | $fighter2 = $fighters->get(1); |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | //The minus 3 is to ignore the final, semi final and quarter final rounds |
138 | 138 | |
139 | 139 | for ($i = 0; $i < $noRounds - 3; $i++) { |
140 | - $tempRounds[] = 'Last '.$noTeamsInFirstRound; |
|
140 | + $tempRounds[] = 'Last ' . $noTeamsInFirstRound; |
|
141 | 141 | $noTeamsInFirstRound /= 2; |
142 | 142 | } |
143 | 143 | |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | foreach ($roundTitles as $key => $roundTitle) { |
160 | 160 | $left = $key * ($this->matchWrapperWidth + $this->roundSpacing - 1); |
161 | 161 | |
162 | - echo '<div class="round-title" style="left: '.$left.'px;">'.$roundTitle.'</div>'; |
|
162 | + echo '<div class="round-title" style="left: ' . $left . 'px;">' . $roundTitle . '</div>'; |
|
163 | 163 | } |
164 | 164 | echo '</div>'; |
165 | 165 | } |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | public function getPlayerList($selected) |
173 | 173 | { |
174 | 174 | $html = '<select> |
175 | - <option'.($selected == '' ? ' selected' : '').'></option>'; |
|
175 | + <option'.($selected == '' ? ' selected' : '') . '></option>'; |
|
176 | 176 | |
177 | 177 | foreach ($this->championship->fighters as $fighter) { |
178 | 178 | $html = $this->addOptionToSelect($selected, $fighter, $html); |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | { |
233 | 233 | if ($fighter != null) { |
234 | 234 | $select = $selected != null && $selected->id == $fighter->id ? ' selected' : ''; |
235 | - $html .= '<option'.$select |
|
235 | + $html .= '<option' . $select |
|
236 | 236 | .' value=' |
237 | 237 | .($fighter->id ?? '') |
238 | 238 | .'>' |