-
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReflectionUnionType in PHP 8 #247
Comments
dg
added a commit
that referenced
this issue
Nov 4, 2020
dg
added a commit
that referenced
this issue
Nov 4, 2020
dg
added a commit
that referenced
this issue
Nov 6, 2020
dg
added a commit
that referenced
this issue
Nov 25, 2020
dg
added a commit
that referenced
this issue
Nov 25, 2020
dg
added a commit
that referenced
this issue
Nov 25, 2020
dg
added a commit
that referenced
this issue
Nov 25, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: nette/di master, PHP 8
Bug Description
There is an issue with ReflectionUnionType in PHP 8. When a function uses union type for return && the function is used in config file => it doesn't work as expected because nette counts with ReflectionNamedType, but ReflectionUnionType is returned. Unfortunately ReflectionUnionType doesn't have
getName()
methodSee screenshot with error and call stack:
Steps To Reproduce
Just create simple TestClass and put these lines to neon config
Possible Solution
The text was updated successfully, but these errors were encountered: