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 fromMappingArray definition #11408

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

VincentLanglet
Copy link
Contributor

Hi,

Kinda similar to #11226 @greg0ire @derrabus

I got a psalm error because FieldMapping::fromMappingArray does not accept nullable key.
This was because the array param was missing lot of keys.

I tried to fix the phpdoc of every fromMappingArray keys by looking at all the property of the class and allow them as array keys in the $mappingArray parameter.

Thanks.

@VincentLanglet VincentLanglet force-pushed the fix/fromMappingArray branch 2 times, most recently from 473526a to 188f7ad Compare April 3, 2024 17:47
@greg0ire greg0ire merged commit 93eb8a1 into doctrine:3.1.x Apr 3, 2024
64 checks passed
@greg0ire
Copy link
Member

greg0ire commented Apr 3, 2024

Thanks @VincentLanglet !

@greg0ire greg0ire added this to the 3.1.2 milestone Apr 3, 2024
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.

None yet

4 participants