Skip to content

Commit

Permalink
Merge pull request #9 from axiostudio/develop
Browse files Browse the repository at this point in the history
Fix "Provincia" Validation
  • Loading branch information
AP - Axio Studio committed Jan 31, 2024
2 parents a549787 + e213014 commit f39120d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Models/Sede.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ public function __construct(...$args)

public static function loadValidatorMetadata(ClassMetadata $metadata): void
{
$metadata->addPropertyConstraint('Provincia', new Length(2));
$metadata->addPropertyConstraint('Nazione', new Length(2));
}
}

0 comments on commit f39120d

Please sign in to comment.