Passed
Pull Request — v3 (#660)
by Austin
03:20 queued 24s
created
src/GameQ/Protocols/Stationeers.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
         // Find the server on this list by iterating over the entire list.
141 141
         foreach ($json->GameSessions as $serverEntry) {
142 142
             // Server information passed matches an entry on this list
143
-            if ($serverEntry->Address === $this->realIp && (int)$serverEntry->Port === $this->realPortQuery) {
143
+            if ($serverEntry->Address === $this->realIp && (int) $serverEntry->Port === $this->realPortQuery) {
144 144
                 $server = $serverEntry;
145 145
                 break;
146 146
             }
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
         $result->add('version', $server->Version);
172 172
         $result->add('map', $server->MapName);
173 173
         $result->add('uptime', $server->UpTime);
174
-        $result->add('password', (int)$server->Password);
174
+        $result->add('password', (int) $server->Password);
175 175
         $result->add('numplayers', $server->Players);
176 176
         $result->add('maxplayers', $server->MaxPlayers);
177 177
         $result->add('type', $server->Type);
Please login to merge, or discard this patch.