Skip to content

Commit

Permalink
add support for php attributes in VatNumber constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvankooten committed Jul 5, 2023
1 parent 728cb2b commit d83c41a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Validator/Constraints/VatNumber.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
/**
* @Annotation
*/
#[\Attribute(\Attribute::TARGET_PROPERTY)]
class VatNumber extends Constraint
{
public const INVALID_ERROR_CODE = '59421d43-d474-489c-b18c-7701329d51a0';
Expand Down

0 comments on commit d83c41a

Please sign in to comment.