Passed
Pull Request — v3 (#594)
by
unknown
35:05
created
src/GameQ/Protocols/Arma3.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
src/GameQ/Buffer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -522,6 +522,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.