Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

jderusse
Copy link
Member

Q A
Branch? 5.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

Both components uses the getCollectionValueTypes method from property-info that has been introduced in 5.3 in #39020

$collectionValueType = $type->isCollection() ? $type->getCollectionValueTypes()[0] ?? null : null;

if ($types[0]->isCollection() && (null !== $collectionValueType = $types[0]->getCollectionValueTypes())) {

@jderusse jderusse requested a review from dunglas as a code owner May 31, 2021 16:45
@carsonbot carsonbot added this to the 5.3 milestone May 31, 2021
@carsonbot carsonbot changed the title Add conflict with property-info < 5.3 [Serializer][Validator] Add conflict with property-info < 5.3 May 31, 2021
@derrabus
Copy link
Member

Thank you Jérémy.

@derrabus derrabus merged commit 925bf86 into symfony:5.3 May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants