Skip to content

[PropertyInfo] Update property_info.rst #17459

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

Closed
wants to merge 1 commit into from
Closed

[PropertyInfo] Update property_info.rst #17459

wants to merge 1 commit into from

Conversation

Thyrannoizer
Copy link
Contributor

Since Symfony 6.1 the Method Type::getCollectionValueType() : ?self (5.0) was changed to Type::getCollectionValueTypes() : array (6.1) the Docs are missleading and i ran into an error after migrating to 6.1

Since Symfony 6.1 the Method `Type::getCollectionValueType() : ?self` (5.0) was changed to `Type::getCollectionValueTypes() : array` (6.1) the Docs are missleading i ran into an error after migrating to 6.1
@carsonbot carsonbot changed the title Update property_info.rst [PropertyInfo] Update property_info.rst Nov 24, 2022
Copy link
Contributor

@mdoutreluingne mdoutreluingne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch

I also see that getCollectionKeyType() is deprecated since Symfony 5.3 for getCollectionKeyTypes(), can you also do the patching?

These two methods have been deprecated since symfony 5.3.

I think it should target the 5.4 branch

@Thyrannoizer
Copy link
Contributor Author

hey, this is my first contribution. So i assume you merge upwards and you meant that i should do the changes against 5.4 ? :D so this would be #17474 then. Please correct me if im wrong. Thanx guys 👍🏻

@mdoutreluingne
Copy link
Contributor

Thanks for creating another PR with the correct target branch. You can close this PR

@OskarStark OskarStark closed this Nov 30, 2022
javiereguiluz added a commit that referenced this pull request Dec 1, 2022
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
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.

5 participants