Skip to content

Commit 08c1916

Browse files
Add suggestions from @benedmunds
Co-authored-by: Ben Edmunds <[email protected]>
1 parent a581c94 commit 08c1916

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 a rather straight forward thing given the languages native `time()` function (or one of it's similar functionalities like `utime()` or `new DateTimeImmutable()` etc.)
66

7-
Due to the nature of time as constantly progressing it becomes a nuisance to use these functions if you need predictable results like for testing.
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.
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 allows the avoidance of using PHP Extensions for testing or using hacks like re-declaring the `time()` function in other namespaces.
1010

0 commit comments

Comments
 (0)