Skip to content

v1.1.1

Compare
Choose a tag to compare
@JulianVennen JulianVennen released this 08 Sep 11:01
· 14 commits to master since this release
ab0f23d

Fixes

  • Fix PHPDoc types for enums in generated classes

Sadly the PHP generator doesn't support PHP enums and instead uses classes with static properties for each enum variant. It then also fails to correctly declare the underlying type stored in these fields and instead pretends like the returned value is a member of the class. This behaviour has been changed and the underlying types are declared now (with a link to the "enum" class).