Skip to content

Commit db7b79a

Browse files
committed
minor #17474 [PropertyInfo] Update property_info.rst (Thyrannoizer)
This PR was merged into the 5.4 branch. Discussion ---------- [PropertyInfo] Update property_info.rst Ref #17459. <!-- 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 `6.x` for features of unreleased versions). --> Commits ------- 80095c6 Update property_info.rst
2 parents c194f5c + 80095c6 commit db7b79a

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)