1
0
mirror of https://github.com/danog/PHPStruct.git synced 2024-11-26 19:54:38 +01:00

Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot 2022-03-26 12:53:42 +00:00
parent cebabbce68
commit 9a774d50b7
No known key found for this signature in database
GPG Key ID: EEAFB12C3E6BC249

View File

@ -381,6 +381,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':