phpactor
phpactor copied to clipboard
@param attributes on closures
Is this supposed to be picked up by phpactor or am I doing it wrong?

No we don't currently support docblocks on anonymous functions (nor is it supported by PHPStan). I'm not sure if we have a good reason not to support it.
Note this wouldn't work anyway due to your other issue.
existing feature request in PHPStan: https://github.com/phpstan/phpstan/issues/3770 - which would be a good place to start (as the docblock is a bit redundant if it works for Phpactor but fails on SA)
Quite a thread they have there.
Did this instead:
