mirror of
https://github.com/danog/PrimeModule.git
synced 2024-11-30 04:39:09 +01:00
Apply fixes from StyleCI
This commit is contained in:
parent
293b767097
commit
065d6cad2b
@ -34,7 +34,7 @@ class PrimeModule
|
||||
$y = $x;
|
||||
$lim = 1 << ($i + 18);
|
||||
for ($j = 1; $j <= $lim; $j++) {
|
||||
++$it;
|
||||
$it++;
|
||||
$a = $x;
|
||||
$b = $x;
|
||||
$c = $t;
|
||||
@ -70,6 +70,7 @@ class PrimeModule
|
||||
if ($g > 1 && $g < $what) {
|
||||
return $g;
|
||||
}
|
||||
|
||||
return $what;
|
||||
}
|
||||
|
||||
|
@ -377,6 +377,7 @@ class StructTools
|
||||
if ($command['modifiers']['FORMAT_ENDIANNESS'] != $command['modifiers']['BIG_ENDIAN']) {
|
||||
$dataarray[$command['datakey']] = strrev($dataarray[$command['datakey']]);
|
||||
} // Reverse if wrong endianness
|
||||
|
||||
try {
|
||||
switch ($command['phpformat']) {
|
||||
case 'p':
|
||||
|
Loading…
Reference in New Issue
Block a user