We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider the following method:
public function alwaysNull(): null { return null; }
When I generate a method using MethodGenerator::copyMethodSignature(), the TypeGenerator fails with:
MethodGenerator::copyMethodSignature()
TypeGenerator
Type "null" cannot be nullable
The text was updated successfully, but these errors were encountered:
Closed via #186
Sorry, something went wrong.
gsteel
Successfully merging a pull request may close this issue.
Bug Report
Summary
Consider the following method:
When I generate a method using
MethodGenerator::copyMethodSignature()
, theTypeGenerator
fails with:The text was updated successfully, but these errors were encountered: