Merge branch '3.2'
* 3.2: Fix test
This commit is contained in:
commit
136a5ffc55
@ -11,7 +11,7 @@ class Category
|
||||
public $id;
|
||||
|
||||
/**
|
||||
* @Assert\Type(Category::NAME_PATTERN)
|
||||
* @Assert\Type("string")
|
||||
*/
|
||||
public $name;
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ namespace Symfony\Bundle\FrameworkBundle\Tests\Fixtures\Validation;
|
||||
class SubCategory extends Category
|
||||
{
|
||||
/**
|
||||
* @Assert\Type(Category::class)
|
||||
* @Assert\Type("string")
|
||||
*/
|
||||
public $main;
|
||||
}
|
||||
|
Reference in New Issue
Block a user