Skip to content

Change return type of get_value() to mixed#37

Merged
ottoturu merged 2 commits intomasterfrom
36-metaget_value-should-return-mixed
Oct 10, 2024
Merged

Change return type of get_value() to mixed#37
ottoturu merged 2 commits intomasterfrom
36-metaget_value-should-return-mixed

Conversation

@ottoturu
Copy link
Copy Markdown
Contributor

@ottoturu ottoturu commented Oct 9, 2024

The previous return type was too restrictive, as the method could potentially return other types of values.

@ottoturu ottoturu requested a review from HPiirainen October 9, 2024 14:06
@ottoturu ottoturu linked an issue Oct 9, 2024 that may be closed by this pull request
@HPiirainen HPiirainen self-assigned this Oct 9, 2024
Copy link
Copy Markdown
Contributor

@HPiirainen HPiirainen left a comment

Choose a reason for hiding this comment

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

Add a changelog entry for these changes and it's good to go 👍

@ottoturu ottoturu merged commit 1cec7bb into master Oct 10, 2024
@ottoturu ottoturu deleted the 36-metaget_value-should-return-mixed branch October 10, 2024 11:49
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.

Meta::get_value() should return mixed

2 participants