-
Notifications
You must be signed in to change notification settings - Fork 144
[BUGFIX] Fix return type annotation of Value::isSize()
#892
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
Conversation
There was a problem hiding this 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
.
@@ -186,7 +186,7 @@ public function isColorComponent() | |||
/** | |||
* 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. |
There was a problem hiding this comment.
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
@@ -45,6 +45,7 @@ Please also have a look at our | |||
|
|||
### Fixed | |||
|
|||
- Fix return type annotation of `Value::isSize()` (#892) |
There was a problem hiding this comment.
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.
No description provided.