Skip to content

Conversation

@oliverklee
Copy link
Collaborator

No description provided.

@coveralls
Copy link

coveralls commented Feb 9, 2025

Coverage Status

coverage: 49.156%. remained the same
when pulling 2f7e23e on cleanup/type-annotation
into 6e43258 on main.

Copy link
Collaborator

@JakeQZ JakeQZ left a comment

Choose a reason for hiding this comment

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

I think the comment can just be changed to use the word "Returns" instead of @return.

/**
* Returns whether the number stored in this Size really represents a size (as in a length of something on screen).
*
* @return false if the unit an angle, a duration, a frequency or the number is a component in a Color object.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think just change this comment to not involve a type annotation - i.e. "Returns false if the unit [is]..." (and add the missing "is") - so the meaning is retained.

CHANGELOG.md Outdated

### Fixed

- Fix return type annotation of `Value::isSize()` (#892)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not sure if we're just changing a DocBlock comment this warrants a changelog entry.

@oliverklee oliverklee requested a review from JakeQZ February 9, 2025 17:45
@JakeQZ JakeQZ merged commit 5e05197 into main Feb 9, 2025
21 checks passed
@JakeQZ JakeQZ deleted the cleanup/type-annotation branch February 9, 2025 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants