Skip to content

Commit

Permalink
Allow using Nip constraint as an Attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreyu authored Mar 23, 2023
1 parent 0453df7 commit 17fea10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Validator/Constraints/Nip.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
*
* @author Sebastian Wróblewski <kontakt@swroblewski.pl>
*/
#[\Attribute(\Attribute::TARGET_PROPERTY)]
class Nip extends Constraint
{
const INVALID_PATTERN_ERROR = 'b2e5a844-1127-43dd-be56-861a5e37fd8e';
Expand Down

0 comments on commit 17fea10

Please sign in to comment.