@phpDocumentor What's the best way to document a yield? is it just through 'return' tag or is there a 'yield' tag?
-
-
there are no big changes. However tools like
@phpstan do support generics which do allow you to specify the type of the generator.@phpDocumentor v3 does support this notation. Which will allow you to document it. But it's still the return type which is generator. -
Check this out: https://phpstan.org/r/0eaa8d12-2237-489a-9165-eb243d637329 … And this article for context:https://phpstan.org/blog/generics-in-php-using-phpdocs …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
