Skip to content

Commit 5b71da4

Browse files
committed
Added attribute definitions to test data class
1 parent b3b746f commit 5b71da4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/Form/Data/SecretRequiredField.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ class SecretRequiredField
99
/**
1010
* @Assert\NotBlank()
1111
*/
12+
#[Assert\NotBlank]
1213
public $name;
1314

1415
/**
1516
* @Assert\NotBlank()
1617
*/
18+
#[Assert\NotBlank]
1719
public $fieldNotUsedInTheForm;
1820
}

0 commit comments

Comments
 (0)