[PR #8869] Fix annotation for phpstan #11219

Closed
opened 2026-01-22 16:10:05 +01:00 by admin · 0 comments
Owner

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

State: closed
Merged: No


Phpstan doesn't support string|class-string
Since the string part will be deprecated, it's
better to keep the part with the template. There
is a test for this, but it only works when phpstan
will reach level 7.

**Original Pull Request:** https://github.com/doctrine/orm/pull/8869 **State:** closed **Merged:** No --- Phpstan doesn't support string|class-string<T> Since the string part will be deprecated, it's better to keep the part with the template. There is a test for this, but it only works when phpstan will reach level 7.
admin added the pull-request label 2026-01-22 16:10:05 +01:00
admin closed this issue 2026-01-22 16:10:05 +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#11219