We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0df58ea commit 006b41eCopy full SHA for 006b41e
components/type_info.rst
@@ -39,9 +39,9 @@ to the :class:`Symfony\\Component\\TypeInfo\\Type` static methods as following::
39
// ... and more methods defined in Symfony\Component\TypeInfo\TypeFactoryTrait
40
41
// 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()
+ Type::fromValue(1.1); // same as Type::float()
+ Type::fromValue('...'); // same as Type::string()
+ Type::fromValue(false); // same as Type::false()
45
46
.. versionadded:: 7.3
47
0 commit comments