Skip to content

Commit 80095c6

Browse files
authored
Update property_info.rst
Ref #17459.
1 parent 8f2e5a6 commit 80095c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/property_info.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,13 +323,13 @@ this returns ``true`` if:
323323
``@var SomeClass<DateTime>``, ``@var SomeClass<integer,string>``,
324324
``@var Doctrine\Common\Collections\Collection<App\Entity\SomeEntity>``, etc.)
325325

326-
``Type::getCollectionKeyType()`` & ``Type::getCollectionValueType()``
326+
``Type::getCollectionKeyTypes()`` & ``Type::getCollectionValueTypes()``
327327
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328328

329329
If the property is a collection, additional type objects may be returned
330330
for both the key and value types of the collection (if the information is
331-
available), via the :method:`Type::getCollectionKeyType() <Symfony\\Component\\PropertyInfo\\Type::getCollectionKeyType>`
332-
and :method:`Type::getCollectionValueType() <Symfony\\Component\\PropertyInfo\\Type::getCollectionValueType>`
331+
available), via the :method:`Type::getCollectionKeyTypes() <Symfony\\Component\\PropertyInfo\\Type::getCollectionKeyTypes>`
332+
and :method:`Type::getCollectionValueTypes() <Symfony\\Component\\PropertyInfo\\Type::getCollectionValueTypes>`
333333
methods.
334334

335335
.. _`components-property-info-extractors`:

0 commit comments

Comments
 (0)