Skip to content

Commit 4de879f

Browse files
committed
[BUGFIX] Fix return type annotation of Value::isSize()
1 parent 6e43258 commit 4de879f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Please also have a look at our
4545

4646
### Fixed
4747

48+
- Fix return type annotation of `Value::isSize()` (#892)
4849
- Don't render `rgb` colors with percentage values using hex notation (#803)
4950
- Parse `@font-face` `src` property as comma-delimited list (#790)
5051

src/Value/Size.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public function isColorComponent()
186186
/**
187187
* Returns whether the number stored in this Size really represents a size (as in a length of something on screen).
188188
*
189-
* @return false if the unit an angle, a duration, a frequency or the number is a component in a Color object.
189+
* @return bool whether the unit is an angle, a duration, a frequency or the number is a component in a Color object
190190
*/
191191
public function isSize(): bool
192192
{

0 commit comments

Comments
 (0)