@@ -197,7 +197,7 @@ |
||
197 | 197 | } |
198 | 198 | |
199 | 199 | // Read the name of the mod |
200 | - $result->addSub('mods', 'name', $responseBuffer->readPascalString(0, true) ?: 'Unknown'); |
|
200 | + $result->addSub('mods', 'name', $responseBuffer->readPascalString(0, true) ? : 'Unknown'); |
|
201 | 201 | |
202 | 202 | --$modCount; |
203 | 203 | } |
@@ -522,6 +522,6 @@ |
||
522 | 522 | private static function isLittleEndian() { |
523 | 523 | $testint = 0x00FF; |
524 | 524 | $p = pack('S', $testint); |
525 | - return $testint===current(unpack('v', $p)); |
|
525 | + return $testint === current(unpack('v', $p)); |
|
526 | 526 | } |
527 | 527 | } |
@@ -227,7 +227,7 @@ |
||
227 | 227 | * |
228 | 228 | * @throws Exception |
229 | 229 | */ |
230 | - protected function parsePlayerTeam($dataType, Buffer &$buffer, Result &$result) |
|
230 | + protected function parsePlayerTeam($dataType, Buffer & $buffer, Result & $result) |
|
231 | 231 | { |
232 | 232 | |
233 | 233 | // Do count |