@@ -52,8 +52,8 @@ |
||
| 52 | 52 | protected function mapWebRoutes() |
| 53 | 53 | { |
| 54 | 54 | Route::middleware('web') |
| 55 | - ->namespace($this->namespace) |
|
| 56 | - ->group(base_path('routes/web.php')); |
|
| 55 | + ->namespace($this->namespace) |
|
| 56 | + ->group(base_path('routes/web.php')); |
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |
@@ -20,11 +20,11 @@ |
||
| 20 | 20 | $res = $client->get('http://www.gameap.ru/gameap_version.txt'); |
| 21 | 21 | |
| 22 | 22 | if ($res->getStatusCode() == Response::HTTP_OK) { |
| 23 | - $lines = explode("\n", $res->getBody()->getContents()); |
|
| 24 | - $parts = explode(': ', $lines[0]); |
|
| 25 | - $latest = $parts[1]; |
|
| 23 | + $lines = explode("\n", $res->getBody()->getContents()); |
|
| 24 | + $parts = explode(': ', $lines[0]); |
|
| 25 | + $latest = $parts[1]; |
|
| 26 | 26 | |
| 27 | - return $latest; |
|
| 27 | + return $latest; |
|
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | // GitHub |