Completed
Push — v3 ( 25b7b0...f8be89 )
by Austin
33:46
created
src/GameQ/Protocols/Gamespy3.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
         // Offload cleaning up the packets if they happen to be split
142 142
         $packets = $this->cleanPackets(array_values($processed));
143 143
 
144
-         // Fix: when server name contains string "\u0000" - query fails.
144
+            // Fix: when server name contains string "\u0000" - query fails.
145 145
         // "\u0000" also separates properties from server, so we are 
146 146
         // replacing double "\u0000" in server response.
147 147
         $packets = preg_replace("/(\\x00){2,}gametype/","\x00gametype", implode('', $packets));
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
          // Fix: when server name contains string "\u0000" - query fails.
145 145
         // "\u0000" also separates properties from server, so we are 
146 146
         // replacing double "\u0000" in server response.
147
-        $packets = preg_replace("/(\\x00){2,}gametype/","\x00gametype", implode('', $packets));
147
+        $packets = preg_replace("/(\\x00){2,}gametype/", "\x00gametype", implode('', $packets));
148 148
 
149 149
         // Create a new buffer
150 150
         $buffer = new Buffer($packets, Buffer::NUMBER_TYPE_BIGENDIAN);
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
      * @param \GameQ\Buffer $buffer
228 228
      * @param \GameQ\Result $result
229 229
      */
230
-    protected function processDetails(Buffer &$buffer, Result &$result)
230
+    protected function processDetails(Buffer & $buffer, Result & $result)
231 231
     {
232 232
 
233 233
         // We go until we hit an empty key
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
      * @param \GameQ\Buffer $buffer
247 247
      * @param \GameQ\Result $result
248 248
      */
249
-    protected function processPlayersAndTeams(Buffer &$buffer, Result &$result)
249
+    protected function processPlayersAndTeams(Buffer & $buffer, Result & $result)
250 250
     {
251 251
 
252 252
         /*
Please login to merge, or discard this patch.