Passed
Pull Request — v3 (#646)
by
unknown
32:51
created
src/GameQ/Filters/Normalize.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -61,9 +61,9 @@
 block discarded – undo
61 61
         $result = array_merge($result, $this->check('general', $result));
62 62
 
63 63
         // Check FiveM Player List
64
-	if ($result['gq_protocol'] == "gta5m") {
65
-		$result['players'] = $this->getFiveMPlayerList(sprintf('%s:%s', (isset($result['gq_address'])) ? $result['gq_address'] : $server->ip(), $result['gq_port_client']));
66
-	}
64
+    if ($result['gq_protocol'] == "gta5m") {
65
+        $result['players'] = $this->getFiveMPlayerList(sprintf('%s:%s', (isset($result['gq_address'])) ? $result['gq_address'] : $server->ip(), $result['gq_port_client']));
66
+    }
67 67
 
68 68
         // Do player information
69 69
         if (isset($result['players']) && count($result['players']) > 0) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
             $players = [];
106 106
             $data = json_decode($json);
107 107
             foreach ($data as $player) {
108
-                $players[] = array("id" => $player->id, "name" => $player->name,"ping" => $player->ping, "identifiers" => $player->identifiers);
108
+                $players[] = array( "id" => $player->id, "name" => $player->name, "ping" => $player->ping, "identifiers" => $player->identifiers );
109 109
             }
110 110
             return $players;
111 111
         }
Please login to merge, or discard this patch.