[PR #8767] Fix getClassMetadata phpdoc #11162

Open
opened 2026-01-22 16:09:55 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/8767

State: closed
Merged: No


Hi @greg0ire, 2.9.3 fixed multiples issues but I also discovered another issue with the generics ^^'

@psalm-param string|class-string<T>

is reduce to string by phpstan.

Which lead to this issue: https://phpstan.org/r/aaf083de-4264-424d-a40e-55aa6af4256c
It works fine with https://phpstan.org/r/91eed37e-b9ca-45b3-9145-fa237922d9f5

**Original Pull Request:** https://github.com/doctrine/orm/pull/8767 **State:** closed **Merged:** No --- Hi @greg0ire, 2.9.3 fixed multiples issues but I also discovered another issue with the generics ^^' ``` @psalm-param string|class-string<T> ``` is reduce to `string` by phpstan. Which lead to this issue: https://phpstan.org/r/aaf083de-4264-424d-a40e-55aa6af4256c It works fine with https://phpstan.org/r/91eed37e-b9ca-45b3-9145-fa237922d9f5
admin added the pull-request label 2026-01-22 16:09:55 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#11162