mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-4019: Proxy generator is not including PHP7 return type hints #4906
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?
Originally created by @doctrinebot on GitHub (Nov 25, 2015).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user radmen:
Proxy generator skips return type hints which results in generating non-compatible proxies.
Entity example:
Generated proxy:
Currently only workaround for this is to remove return type hints definitions.