Passed
Push — develop ( 11996c...22f379 )
by Nikita
05:04
created
app/Services/InfoService.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,11 +20,11 @@
 block discarded – undo
20 20
         $res = $client->get('http://www.gameap.ru/gameap_version.txt');
21 21
 
22 22
         if ($res->getStatusCode() == Response::HTTP_OK) {
23
-             $lines = explode("\n", $res->getBody()->getContents());
24
-             $parts = explode(': ', $lines[0]);
25
-             $latest = $parts[1];
23
+                $lines = explode("\n", $res->getBody()->getContents());
24
+                $parts = explode(': ', $lines[0]);
25
+                $latest = $parts[1];
26 26
              
27
-             return $latest;
27
+                return $latest;
28 28
         }
29 29
         
30 30
         // GitHub
Please login to merge, or discard this patch.
app/Http/Controllers/HomeController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function index()
28 28
     {
29
-        $latestVersion = Cache::remember('latestVersion', 3600, function () {
29
+        $latestVersion = Cache::remember('latestVersion', 3600, function() {
30 30
             return InfoService::latestRelease();
31 31
         });
32 32
         
Please login to merge, or discard this patch.