Skip to content

Support PHP 8.1 native enums#10

Merged
thekid merged 4 commits into
mainfrom
feature/php-enum-support
Mar 13, 2021
Merged

Support PHP 8.1 native enums#10
thekid merged 4 commits into
mainfrom
feature/php-enum-support

Conversation

@thekid
Copy link
Copy Markdown
Member

@thekid thekid commented Mar 13, 2021

See xp-framework/core#261, consisten with XPClass::isEnum(), Type::kind() now returns Kind::$ENUM for:

@thekid thekid added the enhancement New feature or request label Mar 13, 2021
Comment thread src/main/php/lang/reflection/Type.class.php Outdated
@thekid thekid merged commit 29f041f into main Mar 13, 2021
@thekid thekid deleted the feature/php-enum-support branch March 13, 2021 15:38
@thekid
Copy link
Copy Markdown
Member Author

thekid commented Mar 13, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant