Skip to content

Commit 76209f3

Browse files
committed
minor #20787 [TypeInfo] Refer TypeFactoryTrait to file (MrYamous)
This PR was merged into the 7.2 branch. Discussion ---------- [TypeInfo] Refer ``TypeFactoryTrait`` to file IMO it's easier to access the class this way but `:class:` is not available in codeblock Did I miss any particular reason to mention it in comment ? Commits ------- 005ad02 refer TypeFactoryTrait to github file
2 parents 30403db + 005ad02 commit 76209f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/type_info.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ to the :class:`Symfony\\Component\\TypeInfo\\Type` static methods as following::
3737
Type::list(Type::bool());
3838
Type::intersection(Type::object(\Stringable::class), Type::object(\Iterator::class));
3939

40-
// Many others are available and can be
41-
// found in Symfony\Component\TypeInfo\TypeFactoryTrait
40+
Many others methods are available and can be found
41+
in :class:`Symfony\\Component\\TypeInfo\\TypeFactoryTrait`.
4242

4343
Resolvers
4444
~~~~~~~~~

0 commit comments

Comments
 (0)