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`
1818Basic Usage
1919-----------
2020
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 ``,
2222``firstName `` is of type ``string `` (using :phpfunction: `is_string ` PHP function),
2323``age `` is an ``integer `` (using :phpfunction: `is_int ` PHP function) and
2424``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``,
3636 class Author
3737 {
3838 /**
39- * @Assert\Type("Ramsey\Uuid\UuidInterface ")
39+ * @Assert\Type("Symfony\Component\Uid\Uid ")
4040 */
4141 protected $id;
4242
You can’t perform that action at this time.
0 commit comments