Skip to content

Commit 006b41e

Browse files
authored
Update type_info.rst
1 parent 0df58ea commit 006b41e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/type_info.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ to the :class:`Symfony\\Component\\TypeInfo\\Type` static methods as following::
3939
// ... and more methods defined in Symfony\Component\TypeInfo\TypeFactoryTrait
4040

4141
// you can also use a generic method that detects the type automatically
42-
Type::fromValue(1.1) // same as Type::float()
43-
Type::fromValue('...') // same as Type::string()
44-
Type::fromValue(false) // same as Type::false()
42+
Type::fromValue(1.1); // same as Type::float()
43+
Type::fromValue('...'); // same as Type::string()
44+
Type::fromValue(false); // same as Type::false()
4545

4646
.. versionadded:: 7.3
4747

0 commit comments

Comments
 (0)