Skip to content

Commit

Permalink
Add additional validation for size unit <MyIntervals#350>, minus tests
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Feb 24, 2022
1 parent e41d214 commit 5b1d6a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Value/Size.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Size extends PrimitiveValue
/**
* @var array<int, string>
*/
const NON_SIZE_UNITS = ['deg', 'grad', 'rad', 's', 'ms', 'turns', 'Hz', 'kHz'];
const NON_SIZE_UNITS = ['deg', 'grad', 'rad', 's', 'ms', 'turn', 'Hz', 'kHz'];

/**
* @var array<int, array<string, string>>|null
Expand Down

0 comments on commit 5b1d6a4

Please sign in to comment.