mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: add assert constraints
This commit is contained in:
@@ -18,6 +18,7 @@ final class OvhProviderDto extends DefaultProviderDto
|
||||
#[Assert\NotBlank]
|
||||
public string $consumerKey;
|
||||
|
||||
#[Assert\NotBlank]
|
||||
#[Assert\Choice(['create-default', 'create-premium'])]
|
||||
public string $pricingMode;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user