-
-
Notifications
You must be signed in to change notification settings - Fork 131
Closed
Description
Currently the PHPDoc return type of getValues()
is an array.
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
}
Metadata
Metadata
Assignees
Labels
No labels