Skip to content

Commit ccda1c2

Browse files
committed
minor #20788 [TypeInfo] Add missing semi colons (alamirault)
This PR was merged into the 7.3 branch. Discussion ---------- [TypeInfo] Add missing semi colons Introduced in #20781 Commits ------- 006b41e Update type_info.rst
2 parents f8afad2 + 006b41e commit ccda1c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/type_info.rst

+3-3
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)