1
0
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:
Daniil Gentili 2021-02-08 18:57:55 +00:00 committed by StyleCI Bot
parent 293b767097
commit 065d6cad2b
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -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':