-
Notifications
You must be signed in to change notification settings - Fork 937
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
Enum can have boolean values #1467
Conversation
You will need to update the annotation classes too to make the tests pass... |
thanks done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more find/replace that it looks good to go.
src/Annotations/ServerVariable.php
Outdated
@@ -27,7 +27,7 @@ class ServerVariable extends AbstractAnnotation | |||
/** | |||
* An enumeration of values to be used if the substitution options are from a limited set. | |||
* | |||
* @var string[]|int[]|float[]|\UnitEnum[]|class-string | |||
* @var string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, just a minor thing, but one I'd like to see changed for consistency - could you move the bool[]
adjunct to string
,int
,float
, please, so the native types are all together?
* @var string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] | |
* @var string[]|int[]|float[]|bool[]|\UnitEnum[]|class-string |
Thanks @momala454 |
No description provided.