@@ -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 | } |