diff options
| author | Li Zhineng <[email protected]> | 2025-05-14 13:27:59 +0800 |
|---|---|---|
| committer | Li Zhineng <[email protected]> | 2025-05-14 13:27:59 +0800 |
| commit | 665c8bc91124aff065b37e7767acf35e538198f9 (patch) | |
| tree | 6a2750eb352c5beccc7a6310c1d6369649a23016 /src | |
| parent | c09fdd361c8ca9fe75aaba744c85c82f21b9ac68 (diff) | |
| download | vehicle-license-china-665c8bc91124aff065b37e7767acf35e538198f9.tar.gz vehicle-license-china-665c8bc91124aff065b37e7767acf35e538198f9.zip | |
registration number components
Diffstat (limited to 'src')
| -rw-r--r-- | src/RegistrationNumber.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/RegistrationNumber.php b/src/RegistrationNumber.php index abc1364..678633d 100644 --- a/src/RegistrationNumber.php +++ b/src/RegistrationNumber.php @@ -550,6 +550,9 @@ final readonly class RegistrationNumber $this->agencyNumber = $agency; $this->sequence = $sequence; $this->suffix = $suffix; + + $this->region = ''; + $this->authority = ''; } private function parseConsulateRegistrationNumber(string $registrationNumber): void @@ -560,6 +563,8 @@ final readonly class RegistrationNumber $this->agencyNumber = $agency; $this->sequence = $sequence; $this->suffix = $suffix; + + $this->authority = ''; } private function parseRegistrationNumber(string $registrationNumber): void @@ -570,6 +575,8 @@ final readonly class RegistrationNumber $this->authority = $authority; $this->sequence = $sequence; $this->suffix = $suffix; + + $this->agencyNumber = ''; } public function isEmbassy(): bool |
