Merge branch '3.2'

* 3.2:
  Fix test
This commit is contained in:
Nicolas Grekas 2017-01-12 21:17:32 +01:00
commit 136a5ffc55
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ class Category
public $id;
/**
* @Assert\Type(Category::NAME_PATTERN)
* @Assert\Type("string")
*/
public $name;
}

View File

@ -7,7 +7,7 @@ namespace Symfony\Bundle\FrameworkBundle\Tests\Fixtures\Validation;
class SubCategory extends Category
{
/**
* @Assert\Type(Category::class)
* @Assert\Type("string")
*/
public $main;
}