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
The text was updated successfully, but these errors were encountered:
Oh, this for https://github.com/schmittjoh/cg-library related: schmittjoh/cg-library#35
Sorry, something went wrong.
No branches or pull requests
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.The text was updated successfully, but these errors were encountered: