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
Compile Error: Scalar type declaration 'void' must be unqualified
because generated excess \ in enhanced proxy class
\
public function setHashForUser($user): \void for origin method: public function setHashForUser($user) : void {
public function setHashForUser($user): \void
public function setHashForUser($user) : void {
Okay, I manually remove \ but exception again:
Compile Error: A void function must not return a value
because gererated code return $invocation->proceed(); incorrect for void functions.
return $invocation->proceed();
Need remove return operator.
return
related: schmittjoh/JMSAopBundle#50
The text was updated successfully, but these errors were encountered:
schmittjoh#35 fix codegen for return void
7bcc767
Merge pull request #1 from SymfonyRotEbal/return_void_case
b222dfa
Successfully merging a pull request may close this issue.
because generated excess
\
in enhanced proxy classpublic function setHashForUser($user): \void
for origin method:public function setHashForUser($user) : void {
Okay, I manually remove
\
but exception again:because gererated code
return $invocation->proceed();
incorrect for void functions.Need remove
return
operator.related: schmittjoh/JMSAopBundle#50
The text was updated successfully, but these errors were encountered: