Version 5.0.0 beta 1

This commit is contained in:
Neo committed 2025-12-19 16:27:35 -08:00
1 parent 25ddeb65d6
commit 15c7beabc5
6736 files changed
+627902 -497943

No files matched your search

+7 -10
View File
@@ -69,29 +69,26 @@ final class CharacterSetEci extends AbstractEnum
protected const GB18030 = [[29], 'GB2312', 'EUC_CN', 'GBK'];
protected const EUC_KR = [[30], 'EUC-KR'];
/**
* @var int[]
*/
private $values;
/**
* @var string[]
*/
private $otherEncodingNames;
private array $otherEncodingNames;
/**
* @var array<int, self>|null
*/
private static $valueToEci;
private static ?array $valueToEci;
/**
* @var array<string, self>|null
*/
private static $nameToEci;
private static ?array $nameToEci = null;
public function __construct(array $values, string ...$otherEncodingNames)
/**
* @param int[] $values
*/
public function __construct(private readonly array $values, string ...$otherEncodingNames)
{
$this->values = $values;
$this->otherEncodingNames = $otherEncodingNames;
}