Skip to content

refactoring & fix getValues return type #1

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

Merged

Conversation

marc-mabe
Copy link

@marc-mabe marc-mabe commented Apr 17, 2020

  • define testing code within test method
  • support version 1.x
  • methods are case insensitive
  • renamed EnumGetValueDynamicReturnTypeExtension to EnumDynamicReturnTypeExtension
  • support ConstantArrayType of Enum::getValues()
  • support union type MyEnum1|MyEnum2
  • fixed base type handling (like function f(MabeEnum\Enum $enum))

@marc-mabe marc-mabe force-pushed the get_value_return_extension branch from 7055df4 to 332a6f1 Compare April 19, 2020 15:29
@marc-mabe
Copy link
Author

@adaamz should be fine now ;)

@marc-mabe marc-mabe requested a review from adaamz April 19, 2020 15:35
@adaamz
Copy link
Owner

adaamz commented Apr 20, 2020

ok, it works on my project so let's merge and improve it later if users found some bugs :)

@adaamz adaamz merged commit 7c091f3 into adaamz:get_value_return_extension Apr 20, 2020
@marc-mabe marc-mabe deleted the get_value_return_extension branch April 21, 2020 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants