Skip to content

Commit 1d78552

Browse files
IssamRaoufnicolas-grekas
authored andcommitted
[FrameworkBundle][Validator] Replace annotation by attribute
1 parent 2851861 commit 1d78552

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Tests/Fixtures/Validation/SubCategory.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
class SubCategory extends Category
88
{
9-
/**
10-
* @Assert\Type("string")
11-
*/
9+
#[Assert\Type("string")]
1210
public $main;
1311
}

0 commit comments

Comments
 (0)