🚿 use SettingsContainerInterface for DecoderResult

This commit is contained in:
codemasher
2021-11-29 20:47:08 +01:00
parent 217063184b
commit a856d2aa25
3 changed files with 39 additions and 68 deletions
+8 -1
View File
@@ -318,7 +318,14 @@ final class Decoder{
}
}
return new DecoderResult($bytes, $result, $version, $ecLevel, $symbolSequence, $parityData);
return new DecoderResult([
'rawBytes' => $bytes,
'text' => $result,
'version' => $version,
'eccLevel' => $ecLevel,
'structuredAppendParity' => $parityData,
'structuredAppendSequence' => $symbolSequence
]);
}
}