Skip to content

Commit 422ce06

Browse files
committed
minor #20546 [TypeInfo] Fix typo (loevgaard)
This PR was merged into the 7.2 branch. Discussion ---------- [TypeInfo] Fix typo <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `7.x` for features of unreleased versions). --> Commits ------- cf53d19 Fix typo
2 parents 0a76498 + cf53d19 commit 422ce06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/type_info.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ PHP package required for string resolving. Then, follow these steps::
106106

107107
$typeResolver = TypeResolver::create();
108108
$typeResolver->resolve(new \ReflectionProperty(Dummy::class, 'id')); // returns an "int" Type
109-
$typeResolver->resolve(new \ReflectionProperty(Dummy::class, 'id')); // returns a collection with "int" as key and "string" as values Type
109+
$typeResolver->resolve(new \ReflectionProperty(Dummy::class, 'tags')); // returns a collection with "int" as key and "string" as values Type
110110

111111
Advanced Usages
112112
~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)