Skip to content

Commit

Permalink
Fix "Provincia" Validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Pollastri committed Jan 31, 2024
1 parent c2ffb52 commit e213014
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 e213014

Please sign in to comment.