-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
WP_CLI\Formatter::display_items should use \Iterator, not Iterator #7
Comments
I see! |
Talked about in GiacoCorsiglia/php-stubs-generator#8 |
@mundschenk-at If you convince @schlessera to always use FQCN ... |
Unlikely. Always using FQCN in doc blocks makes them very unwieldy if you have deeply nested namespaces. |
Not according to https://docs.phpdoc.org/3.0/guide/guides/types.html |
This is not a technical rule. It makes PHPDoc blocks easy to understand. |
WP_CLI\Formatter::display_items
hasIterator
(without the\
) set as the type of its parameter$items
, expanding toWP_CLI\Iterator
.The text was updated successfully, but these errors were encountered: