Test Setup Failed
Pull Request — master (#21)
by he
05:29
created
app/Services/Ranking.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -40,9 +40,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
app/Console/Commands/Once/GenerateTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.