Upstream thephpleague/period state of the touched files before 7417a30890

This commit is contained in:
upstream committed 2026-09-24 09:02:10 +02:00
1 parent ca720ad7ea
commit 23696d9b4c
1 file changed
+2 -4
+2 -4
View File
@@ -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