JMSAopBundle
JMSAopBundle copied to clipboard
return void cases
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 {
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.
Need remove return
operator.
Oh, this for https://github.com/schmittjoh/cg-library related: https://github.com/schmittjoh/cg-library/issues/35