@@ -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 | /** |
@@ -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 |