Skip to content

Fix phpdoc of ClassMetadataInfo::getIdentifierValues#8590

Merged
greg0ire merged 1 commit intodoctrine:2.8.xfrom
VincentLanglet:patch-2
Apr 4, 2021
Merged

Fix phpdoc of ClassMetadataInfo::getIdentifierValues#8590
greg0ire merged 1 commit intodoctrine:2.8.xfrom
VincentLanglet:patch-2

Conversation

@VincentLanglet
Copy link
Copy Markdown
Contributor

Hi @greg0ire, this will fixed a psalm issue from SonataDoctrineORM ;)

The keys of the returned array are the values of $this->identifier which is a string[].
So array<string|int, mixed> should be array<string, mixed>

@greg0ire greg0ire merged commit 10572ec into doctrine:2.8.x Apr 4, 2021
@greg0ire
Copy link
Copy Markdown
Member

greg0ire commented Apr 4, 2021

Thanks @VincentLanglet !

@VincentLanglet
Copy link
Copy Markdown
Contributor Author

Thanks, if you have some time, please take a look at doctrine/persistence#163 :)

@VincentLanglet VincentLanglet deleted the patch-2 branch April 4, 2021 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants