🚿 some docblocks and typos

This commit is contained in:
smiley
2023-01-31 23:49:33 +01:00
parent a02012a283
commit 9c0f6ac065
17 changed files with 81 additions and 66 deletions
+3 -3
View File
@@ -17,10 +17,10 @@ use function property_exists;
/**
* Encapsulates the result of decoding a matrix of bits. This typically
* applies to 2D barcode formats. For now it contains the raw bytes obtained,
* applies to 2D barcode formats. For now, it contains the raw bytes obtained
* as well as a String interpretation of those bytes, if applicable.
*
* @property int[] $rawBytes
* @property \chillerlan\QRCode\Common\BitBuffer $rawBytes
* @property string $data
* @property \chillerlan\QRCode\Common\Version $version
* @property \chillerlan\QRCode\Common\EccLevel $eccLevel
@@ -31,10 +31,10 @@ use function property_exists;
final class DecoderResult{
private BitBuffer $rawBytes;
private string $data;
private Version $version;
private EccLevel $eccLevel;
private MaskPattern $maskPattern;
private string $data = '';
private int $structuredAppendParity = -1;
private int $structuredAppendSequence = -1;