Skip to content

Commit 5b1d6a4

Browse files
committed
Add additional validation for size unit <MyIntervals#350>, minus tests
1 parent e41d214 commit 5b1d6a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Value/Size.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Size extends PrimitiveValue
2424
/**
2525
* @var array<int, string>
2626
*/
27-
const NON_SIZE_UNITS = ['deg', 'grad', 'rad', 's', 'ms', 'turns', 'Hz', 'kHz'];
27+
const NON_SIZE_UNITS = ['deg', 'grad', 'rad', 's', 'ms', 'turn', 'Hz', 'kHz'];
2828

2929
/**
3030
* @var array<int, array<string, string>>|null

0 commit comments

Comments
 (0)