@@ -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 | } |
@@ -191,7 +191,7 @@ |
||
| 191 | 191 | $result->addSub('mods', 'steam_id', $responseBuffer->readInt32($infoByte & 0x0F)); |
| 192 | 192 | |
| 193 | 193 | // Read the name of the mod |
| 194 | - $result->addSub('mods', 'name', $responseBuffer->readPascalString(0, true) ?: 'Unknown'); |
|
| 194 | + $result->addSub('mods', 'name', $responseBuffer->readPascalString(0, true) ? : 'Unknown'); |
|
| 195 | 195 | |
| 196 | 196 | --$modCount; |
| 197 | 197 | } |