From 80095c666c972512dbb92dde3822945d02c4c735 Mon Sep 17 00:00:00 2001 From: Marco Woehr Date: Mon, 28 Nov 2022 09:45:59 +0100 Subject: [PATCH] Update property_info.rst Ref https://github.com/symfony/symfony-docs/pull/17459. --- components/property_info.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/property_info.rst b/components/property_info.rst index 276479d1e09..f9b693336a8 100644 --- a/components/property_info.rst +++ b/components/property_info.rst @@ -323,13 +323,13 @@ this returns ``true`` if: ``@var SomeClass``, ``@var SomeClass``, ``@var Doctrine\Common\Collections\Collection``, etc.) -``Type::getCollectionKeyType()`` & ``Type::getCollectionValueType()`` +``Type::getCollectionKeyTypes()`` & ``Type::getCollectionValueTypes()`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If the property is a collection, additional type objects may be returned for both the key and value types of the collection (if the information is -available), via the :method:`Type::getCollectionKeyType() ` -and :method:`Type::getCollectionValueType() ` +available), via the :method:`Type::getCollectionKeyTypes() ` +and :method:`Type::getCollectionValueTypes() ` methods. .. _`components-property-info-extractors`: