We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76e3537 + 56ee53e commit 8c7f782Copy full SHA for 8c7f782
Tests/Fixtures/Validation/Category.php
@@ -11,7 +11,7 @@ class Category
11
public $id;
12
13
/**
14
- * @Assert\Type(Category::NAME_PATTERN)
+ * @Assert\Type("string")
15
*/
16
public $name;
17
}
Tests/Fixtures/Validation/SubCategory.php
@@ -7,7 +7,7 @@
7
class SubCategory extends Category
8
{
9
10
- * @Assert\Type(Category::class)
public $main;
0 commit comments