Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3d0a69e

Browse files
Fix test
1 parent 6ba7981 commit 3d0a69e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Validation/Category.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Category
1111
public $id;
1212

1313
/**
14-
* @Assert\Type(Category::NAME_PATTERN)
14+
* @Assert\Type("string")
1515
*/
1616
public $name;
1717
}

src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Validation/SubCategory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class SubCategory extends Category
88
{
99
/**
10-
* @Assert\Type(Category::class)
10+
* @Assert\Type("string")
1111
*/
1212
public $main;
1313
}

0 commit comments

Comments
 (0)