We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3e562a commit 948911aCopy full SHA for 948911a
src/Constraints/CountryVatNumber.php
@@ -6,21 +6,17 @@
6
7
use Symfony\Component\Validator\Constraint;
8
9
-/**
10
- * @Annotation
11
- */
12
class CountryVatNumber extends Constraint
13
{
+ /** @var string */
14
public const CORRESPONDENCE_ERROR = '403';
15
16
- /** @var string */
17
- public $message = 'flux_se.sylius_eu_vat.country_vat_number.invalid';
+ public string $message = 'flux_se.sylius_eu_vat.country_vat_number.invalid';
18
19
/** @var string[] */
20
public $groups = [];
21
22
23
- public $vatNumberPath = 'vatNumber';
+ public string $vatNumberPath = 'vatNumber';
24
25
public function getTargets()
26
0 commit comments