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
Currently the PHPDoc return type of getValues() is an array.
getValues()
Would it be an idea to change that to:
/** * @return Enum[] */
This would allow proper code completion, for example:
foreach(Locales::getValues() as $locale){ echo $locale->getValue(); //This currently results in a warning }
The text was updated successfully, but these errors were encountered:
👍 I'm all for that
Sorry, something went wrong.
Hehe, quick reaction, maybe even
/** * @return static[] */
Not sure how well supported that is... Will check it out and provide a PR.
Fixed by #37
No branches or pull requests
Currently the PHPDoc return type of
getValues()
is an array.Would it be an idea to change that to:
This would allow proper code completion, for example:
The text was updated successfully, but these errors were encountered: