Issues (12)

src/Config/VatNumberValidatorConfig.php (1 issue)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Gewebe\SyliusVATPlugin\Config;
6
7
final readonly class VatNumberValidatorConfig
0 ignored issues
show
A parse error occurred: Syntax error, unexpected T_READONLY, expecting T_CLASS on line 7 at column 6
Loading history...
8
{
9
    public function __construct(
10
        public bool $isRequired = false,
11
        public bool $isRequiredForCompany = true,
12
        public array $requiredForCountries = [],
13
        public bool $validateFormat = true,
14
        public bool $validateCountry = true,
15
        public bool $validateRegistration = true,
16
        public bool $validateOnServiceUnavailable = false,
17
        public bool $revalidateOnLogin = true,
18
        public int $expirationDays = 30,
19
    ) {
20
    }
21
}
22