Test Failed
Push — develop ( 1426f9...3ac9c8 )
by Nikita
07:24 queued 11s
created
app/Services/InfoService.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,11 +25,11 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
app/Http/Controllers/ServersController.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,6 @@
 block discarded – undo
45 45
      *
46 46
      * @param  \Gameap\Models\Server  $server
47 47
      * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
48
-
49 48
      * @throws \Illuminate\Auth\Access\AuthorizationException
50 49
      */
51 50
     public function show(Server $server)
Please login to merge, or discard this patch.
app/Repositories/ServerRepository.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
         }
71 71
 
72 72
         if (empty($attributes['rcon'])) {
73
-             $attributes['rcon'] = Str::random(self::DEFAULT_RCON_PASSWORD_LENGTH);
73
+                $attributes['rcon'] = Str::random(self::DEFAULT_RCON_PASSWORD_LENGTH);
74 74
         }
75 75
 
76 76
         $dedicatedServer = DedicatedServer::findOrFail($attributes['ds_id']);
Please login to merge, or discard this patch.