@@ -195,14 +195,14 @@ |
||
| 195 | 195 | */ |
| 196 | 196 | public function getValueToUpdate() |
| 197 | 197 | { |
| 198 | - try{ |
|
| 198 | + try { |
|
| 199 | 199 | if ($this->championship->category->isTeam()) { |
| 200 | 200 | return $this->teams->map->id[0]; |
| 201 | 201 | } |
| 202 | 202 | |
| 203 | 203 | return $this->competitors->map->id[0]; |
| 204 | 204 | |
| 205 | - }catch (ErrorException $e){ |
|
| 205 | + } catch (ErrorException $e) { |
|
| 206 | 206 | return null; |
| 207 | 207 | } |
| 208 | 208 | |
@@ -202,7 +202,7 @@ |
||
| 202 | 202 | |
| 203 | 203 | return $this->competitors->map->id[0]; |
| 204 | 204 | |
| 205 | - }catch (ErrorException $e){ |
|
| 205 | + } catch (ErrorException $e){ |
|
| 206 | 206 | return null; |
| 207 | 207 | } |
| 208 | 208 | |