mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #8769] Make templating Psalm-specific #11159
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/8769
State: closed
Merged: Yes
If
$classNameis a class-string, then we return an instance of thatclass. However, if it's an alias, things get complicated, and it's hard
to tell. There does not seem to be a way to express that for now.
We should probably consider dropping namespace aliases entirely and add
support for
::classinside DQL if it's not the case already.Refs #8767 , https://github.com/phpstan/phpstan/issues/5175 , cc @VincentLanglet