Completed
Push — v3 ( 9c52f0...178f14 )
by Austin
04:10
created
src/GameQ/Protocols/Tibia.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,11 +129,11 @@
 block discarded – undo
129 129
                 }
130 130
 
131 131
                 // Add the result
132
-                $result->add($key, (string)$value);
132
+                $result->add($key, (string) $value);
133 133
             }
134 134
         }
135 135
 
136
-        $result->add("motd", (string)$xmlDoc->motd);
136
+        $result->add("motd", (string) $xmlDoc->motd);
137 137
 
138 138
         unset($xmlDoc, $xmlDoc);
139 139
 
Please login to merge, or discard this patch.
src/GameQ/Protocols/Cs2d.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -192,12 +192,12 @@
 block discarded – undo
192 192
         $serverFlags = $buffer->readInt8();
193 193
 
194 194
         // Read server flags
195
-        $result->add('password', (int)$this->readFlag($serverFlags, 0));
196
-        $result->add('registered_only', (int)$this->readFlag($serverFlags, 1));
197
-        $result->add('fog_of_war', (int)$this->readFlag($serverFlags, 2));
198
-        $result->add('friendly_fire', (int)$this->readFlag($serverFlags, 3));
199
-        $result->add('bots_enabled', (int)$this->readFlag($serverFlags, 5));
200
-        $result->add('lua_scripts', (int)$this->readFlag($serverFlags, 6));
195
+        $result->add('password', (int) $this->readFlag($serverFlags, 0));
196
+        $result->add('registered_only', (int) $this->readFlag($serverFlags, 1));
197
+        $result->add('fog_of_war', (int) $this->readFlag($serverFlags, 2));
198
+        $result->add('friendly_fire', (int) $this->readFlag($serverFlags, 3));
199
+        $result->add('bots_enabled', (int) $this->readFlag($serverFlags, 5));
200
+        $result->add('lua_scripts', (int) $this->readFlag($serverFlags, 6));
201 201
 
202 202
         // Read the rest of the buffer data
203 203
         $result->add('servername', utf8_encode($buffer->readPascalString(0)));
Please login to merge, or discard this patch.