Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Symfony\Component\PropertyInfo\Type::getCollectionKeyType() deprecation notice in symfony 5.3 #1877

Closed
FarhadKh opened this issue Sep 18, 2021 · 2 comments

Comments

@FarhadKh
Copy link

I get this deprecation notice
Since symfony/property-info 5.3: The "Symfony\Component\PropertyInfo\Type::getCollectionKeyType()" method is deprecated, use "getCollectionKeyTypes()" instead.

The deprecated method is called in these files:
ObjectPropertyDescriber

@antaresua
Copy link

I have the same problem but with getCollectionVelueType():
Since symfony/property-info 5.3: The "Symfony\Component\PropertyInfo\Type::getCollectionValueType()" method is deprecated, use "getCollectionValueTypes()" instead

files called deprecated method ObjectPropertyDescriber / ArrayPropertyDescriber

@GuilhemN
Copy link
Collaborator

GuilhemN commented Nov 3, 2021

Fixed in #1888

@GuilhemN GuilhemN closed this as completed Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants