Skip to content

Commit

Permalink
Added attribute definitions to test data class
Browse files Browse the repository at this point in the history
  • Loading branch information
tarlepp committed May 1, 2024
1 parent b3b746f commit 5b71da4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/Form/Data/SecretRequiredField.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ class SecretRequiredField
/**
* @Assert\NotBlank()
*/
#[Assert\NotBlank]
public $name;

/**
* @Assert\NotBlank()
*/
#[Assert\NotBlank]
public $fieldNotUsedInTheForm;
}

0 comments on commit 5b71da4

Please sign in to comment.