diff --git a/src/DurationTest.php b/src/DurationTest.php index fd71bbb..12c03db 100644 --- a/src/DurationTest.php +++ b/src/DurationTest.php @@ -292,10 +292,8 @@ final class DurationTest extends TestCase } /** - * A signed chronometer or time string must apply the sign to the whole - * duration, not only to the hour component. Previously the sign was lost - * entirely when the hour was zero and, when the hour was present, only the - * hour was negated while minutes and seconds stayed positive. + * A sign applies to the whole duration, not just the hour. It used to be + * lost when the hour was zero, and to negate only the hour otherwise. */ #[DataProvider('signedDurationProvider')] public function testSignedStringsApplySignToWholeDuration(string $method, string $input, string $reference, string $expected): void