@@ -63,7 +63,7 @@ |
||
| 63 | 63 | |
| 64 | 64 | /** @var $result Team[] */ |
| 65 | 65 | $result = array_values($this->teams); |
| 66 | - usort($result, function ($team1, $team2) { |
|
| 66 | + usort($result, function($team1, $team2) { |
|
| 67 | 67 | return !$this->isBetter($team1, $team2); |
| 68 | 68 | }); |
| 69 | 69 | |
@@ -40,9 +40,9 @@ discard block |
||
| 40 | 40 | protected function mapApiRoutes() |
| 41 | 41 | { |
| 42 | 42 | Route::prefix('judge') |
| 43 | - // ->middleware('judge') |
|
| 44 | - ->namespace($this->namespace) |
|
| 45 | - ->group(base_path('routes/judge.php')); |
|
| 43 | + // ->middleware('judge') |
|
| 44 | + ->namespace($this->namespace) |
|
| 45 | + ->group(base_path('routes/judge.php')); |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
@@ -55,15 +55,15 @@ discard block |
||
| 55 | 55 | protected function mapWebRoutes() |
| 56 | 56 | { |
| 57 | 57 | Route::middleware('web') |
| 58 | - ->namespace($this->namespace) |
|
| 59 | - ->group(base_path('routes/web.php')); |
|
| 58 | + ->namespace($this->namespace) |
|
| 59 | + ->group(base_path('routes/web.php')); |
|
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | private function mapAdminRoutes() |
| 63 | 63 | { |
| 64 | 64 | Route::prefix('admin') |
| 65 | - ->middleware('admin') |
|
| 66 | - ->namespace($this->namespace) |
|
| 67 | - ->group(base_path('routes/admin.php')); |
|
| 65 | + ->middleware('admin') |
|
| 66 | + ->namespace($this->namespace) |
|
| 67 | + ->group(base_path('routes/admin.php')); |
|
| 68 | 68 | } |
| 69 | 69 | } |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | public function handle() |
| 16 | 16 | { |
| 17 | 17 | $id = $this->argument('id'); |
| 18 | - app()->singleton(SolutionServer::class, function () { |
|
| 18 | + app()->singleton(SolutionServer::class, function() { |
|
| 19 | 19 | return new SolutionServer(); |
| 20 | 20 | }); |
| 21 | 21 | if (strpos($id, '-') !== false) { |