| @@ -25,11 +25,11 @@ | ||
| 25 | 25 | } | 
| 26 | 26 | |
| 27 | 27 |          if ($res->getStatusCode() == Response::HTTP_OK) { | 
| 28 | -             $lines = explode("\n", $res->getBody()->getContents()); | |
| 29 | -             $parts = explode(': ', $lines[0]); | |
| 30 | - $latest = $parts[1]; | |
| 28 | +                $lines = explode("\n", $res->getBody()->getContents()); | |
| 29 | +                $parts = explode(': ', $lines[0]); | |
| 30 | + $latest = $parts[1]; | |
| 31 | 31 | |
| 32 | - return $latest; | |
| 32 | + return $latest; | |
| 33 | 33 | } | 
| 34 | 34 | |
| 35 | 35 | // GitHub | 
| @@ -45,7 +45,6 @@ | ||
| 45 | 45 | * | 
| 46 | 46 | * @param \Gameap\Models\Server $server | 
| 47 | 47 | * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View | 
| 48 | - | |
| 49 | 48 | * @throws \Illuminate\Auth\Access\AuthorizationException | 
| 50 | 49 | */ | 
| 51 | 50 | public function show(Server $server) | 
| @@ -70,7 +70,7 @@ | ||
| 70 | 70 | } | 
| 71 | 71 | |
| 72 | 72 |          if (empty($attributes['rcon'])) { | 
| 73 | - $attributes['rcon'] = Str::random(self::DEFAULT_RCON_PASSWORD_LENGTH); | |
| 73 | + $attributes['rcon'] = Str::random(self::DEFAULT_RCON_PASSWORD_LENGTH); | |
| 74 | 74 | } | 
| 75 | 75 | |
| 76 | 76 | $dedicatedServer = DedicatedServer::findOrFail($attributes['ds_id']); |