@@ -112,15 +112,15 @@ |
||
| 112 | 112 | { |
| 113 | 113 | $isTeam = $this->group->championship->category->isTeam; |
| 114 | 114 | if ($isTeam) { |
| 115 | - $teamToUpdate = 'team'.$numFighter; |
|
| 115 | + $teamToUpdate = 'team' . $numFighter; |
|
| 116 | 116 | |
| 117 | 117 | return optional($this->$teamToUpdate)->$attr; |
| 118 | 118 | } |
| 119 | - $competitorToUpdate = 'competitor'.$numFighter; |
|
| 119 | + $competitorToUpdate = 'competitor' . $numFighter; |
|
| 120 | 120 | if ($attr == 'name') { |
| 121 | 121 | return $this->$competitorToUpdate == null |
| 122 | 122 | ? '' |
| 123 | - : $this->$competitorToUpdate->user->firstname.' '.$this->$competitorToUpdate->user->lastname; |
|
| 123 | + : $this->$competitorToUpdate->user->firstname . ' ' . $this->$competitorToUpdate->user->lastname; |
|
| 124 | 124 | } elseif ($attr == 'short_id') { |
| 125 | 125 | return optional($this->$competitorToUpdate)->short_id; |
| 126 | 126 | } |