Skip to content
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

Add getKey() return type as string #123

Closed
wants to merge 1 commit into from
Closed

Conversation

simPod
Copy link
Contributor

@simPod simPod commented Aug 19, 2020

Method Enum::getKey() will always return string as it's already called on existing instance.

@simPod
Copy link
Contributor Author

simPod commented Feb 10, 2021

@mnapoli hi, do you think we can 🚢 this?

*/
public function getKey()
public function getKey(): string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately this is a BC break, as I stated here as well: #136 (comment)

@mnapoli
Copy link
Member

mnapoli commented Feb 15, 2021

👍 closing because of BC break

@mnapoli mnapoli closed this Feb 15, 2021
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.

None yet

3 participants