Skip to content

Commit 948911a

Browse files
committed
Fix PHPStan on PHP 8.3
1 parent f3e562a commit 948911a

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/Constraints/CountryVatNumber.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,17 @@
66

77
use Symfony\Component\Validator\Constraint;
88

9-
/**
10-
* @Annotation
11-
*/
129
class CountryVatNumber extends Constraint
1310
{
11+
/** @var string */
1412
public const CORRESPONDENCE_ERROR = '403';
1513

16-
/** @var string */
17-
public $message = 'flux_se.sylius_eu_vat.country_vat_number.invalid';
14+
public string $message = 'flux_se.sylius_eu_vat.country_vat_number.invalid';
1815

1916
/** @var string[] */
2017
public $groups = [];
2118

22-
/** @var string */
23-
public $vatNumberPath = 'vatNumber';
19+
public string $vatNumberPath = 'vatNumber';
2420

2521
public function getTargets()
2622
{

0 commit comments

Comments
 (0)