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

Fix type hint on Panel::area() #6217

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

distantnative
Copy link
Member

I say this isn't a breaking change but just bug fix as the code inside the method would crash if a string was passed.

@distantnative distantnative added the type: bug 🐛 Is a bug; fixes a bug label Jan 27, 2024
@distantnative distantnative added this to the 4.1.0 milestone Jan 27, 2024
@distantnative distantnative requested a review from a team January 27, 2024 18:37
@distantnative distantnative self-assigned this Jan 27, 2024
Copy link
Member

@afbora afbora left a comment

Choose a reason for hiding this comment

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

This was correct up to 3.8. In 3.8 we had applied type hints in docblocks and docblock hints were wrong for the method.

283d00c#diff-33e7d22c225cf6c17ede4dec69c897ac102c42d013a388bd18b462caaac579d8

@bastianallgeier bastianallgeier merged commit 01bf4b1 into develop-patch Jan 29, 2024
12 checks passed
@bastianallgeier bastianallgeier deleted the fix/panel-area-type-hint branch January 29, 2024 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Is a bug; fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants