File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Validator :class:`Symfony\\Component\\Validator\\Constraints\\TypeValidator`
18
18
Basic Usage
19
19
-----------
20
20
21
- This will check if ``id `` is an instance of ``Ramsey\Uuid\UuidInterface ``,
21
+ This will check if ``id `` is an instance of ``Symfony\Component\Uid\Uid ``,
22
22
``firstName `` is of type ``string `` (using :phpfunction: `is_string ` PHP function),
23
23
``age `` is an ``integer `` (using :phpfunction: `is_int ` PHP function) and
24
24
``accessCode `` contains either only letters or only digits (using
@@ -36,7 +36,7 @@ This will check if ``id`` is an instance of ``Ramsey\Uuid\UuidInterface``,
36
36
class Author
37
37
{
38
38
/**
39
- * @Assert\Type("Ramsey\Uuid\UuidInterface ")
39
+ * @Assert\Type("Symfony\Component\Uid\Uid ")
40
40
*/
41
41
protected $id;
42
42
You can’t perform that action at this time.
0 commit comments