Skip to content

Commit 41856ad

Browse files
Update proposed/clock-meta.md
Co-authored-by: Woody Gilk <[email protected]>
1 parent f360ed8 commit 41856ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposed/clock-meta.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Getting the current time in applications is typically achieved using the `time()` or `microtime` functions, or by using a `new \DateTimeImmutable()` class.
66

7-
Due to the nature of time as constantly progressing it becomes a nuisance to use these functions if you need predictable results, for example when testing.
7+
Due to the nature of time progression these methods cannot be used when predictable results are needed, such as during testing.
88

99
This `ClockInterface` aims to provide a standard way to consume time that allows interoperability not only when consuming the "real" time but also when predictable results need to be available. This avoids the need to use PHP extensions for testing or redeclare the `time()` function in a local namespace.
1010

0 commit comments

Comments
 (0)