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
Closure(...)
<?php /** * @template T * @param Closure(...):T $closure * @return T */ function test(\Closure $closure) { } $a = test(function (): string { return ''; }); /** @trace $$a */
Maybe @param Closure(...):T $closure not resolve correctly.
@param Closure(...):T $closure
The text was updated successfully, but these errors were encountered:
Thank you for the test case.
We don't recognize three dots alone ....
...
The following works:
Closure():T
Will be implemented.
Sorry, something went wrong.
jakubmisek
No branches or pull requests
Maybe
@param Closure(...):T $closure
not resolve correctly.The text was updated successfully, but these errors were encountered: