Passed
Push — develop ( 2a02d4...7461cb )
by Nikita
05:45
created
app/Repositories/ServerRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
         $addInstallTask = false;
40 40
         if (isset($attributes['install'])) {
41
-            $attributes['installed'] = ! $attributes['install'];
41
+            $attributes['installed'] = !$attributes['install'];
42 42
             $addInstallTask = true;
43 43
 
44 44
             unset($attributes['install']);
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     {
89 89
         return $this->model->select(['id', 'name', 'server_ip', 'server_port', 'game_id', 'game_mod_id'])
90 90
             ->with(['game' => function($query) {
91
-                $query->select('code','name');
91
+                $query->select('code', 'name');
92 92
             }])
93 93
             ->where('name', 'LIKE', '%' . $query . '%')
94 94
             ->get();
Please login to merge, or discard this patch.
app/Http/Controllers/ServersController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public function index()
36 36
     {
37
-        return view('servers.list',[
37
+        return view('servers.list', [
38 38
             'servers' => $this->repository->getServersForAuth()
39 39
         ]);
40 40
     }
Please login to merge, or discard this patch.