mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-17 17:25:28 +00:00
🚿 use SettingsContainerInterface for DecoderResult
This commit is contained in:
@@ -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
|
||||
]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user