summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/RegistrationNumber.php32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/RegistrationNumber.php b/src/RegistrationNumber.php
index 1b5e936..e560872 100644
--- a/src/RegistrationNumber.php
+++ b/src/RegistrationNumber.php
@@ -11,7 +11,7 @@ final readonly class RegistrationNumber
*
* @var string[][]
*/
- private const array AUTHORITIES = [
+ private const AUTHORITIES = [
'京' => [
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
@@ -129,7 +129,7 @@ final readonly class RegistrationNumber
/**
* @var string[]
*/
- private const array CLEAN_ENERGY_FIRST_LETTERS = [
+ private const CLEAN_ENERGY_FIRST_LETTERS = [
'D', 'A', 'B', 'C', 'E',
'F', 'G', 'H', 'J', 'K',
];
@@ -137,14 +137,14 @@ final readonly class RegistrationNumber
/**
* @var string[]
*/
- private const array BATTERY_ELECTRIC_LETTERS = [
+ private const BATTERY_ELECTRIC_LETTERS = [
'D', 'A', 'B', 'C', 'E',
];
/**
* @var string[]
*/
- private const array AVAILLABLE_SUFFIXS = [
+ private const AVAILLABLE_SUFFIXS = [
self::EMBASSY_SUFFIX,
self::CONSULATE_SUFFIX,
self::POLICE_SUFFIX,
@@ -159,32 +159,32 @@ final readonly class RegistrationNumber
/**
* @var string[]
*/
- private const array GUANGDONG_Z_SPECIAL_SUFFIXS = [
+ private const GUANGDONG_Z_SPECIAL_SUFFIXS = [
self::HONG_KONG_SUFFIX,
self::MACAU_SUFFIX,
];
- private const string GUANGDONG_PROVINCE = '粤';
+ private const GUANGDONG_PROVINCE = '粤';
- private const string GUANGDONG_SPECIAL_AUTHORITY = 'Z';
+ private const GUANGDONG_SPECIAL_AUTHORITY = 'Z';
- private const string EMBASSY_SUFFIX = '使';
+ private const EMBASSY_SUFFIX = '使';
- private const string CONSULATE_SUFFIX = '领';
+ private const CONSULATE_SUFFIX = '领';
- private const string POLICE_SUFFIX = '警';
+ private const POLICE_SUFFIX = '警';
- private const string COACH_SUFFIX = '学';
+ private const COACH_SUFFIX = '学';
- private const string TRAILER_SUFFIX = '挂';
+ private const TRAILER_SUFFIX = '挂';
- private const string HONG_KONG_SUFFIX = '港';
+ private const HONG_KONG_SUFFIX = '港';
- private const string MACAU_SUFFIX = '澳';
+ private const MACAU_SUFFIX = '澳';
- private const string TEST_SUFFIX = '试';
+ private const TEST_SUFFIX = '试';
- private const string SPECIAL_SUFFIX = '超';
+ private const SPECIAL_SUFFIX = '超';
public string $region;