File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ interfaces/functionality first.
17
17
18
18
## 1.1 Introduction
19
19
20
- Creating a standard way of accessing the clock, would allow interopability
20
+ Creating a standard way of accessing the clock would allow interopability
21
21
during testing, when testing behavior that has timing based side effects.
22
22
Common ways to get the current time include calling ` \time() ` or
23
23
` new DateTimeImmutable('now') ` . However, this makes mocking the current time
@@ -45,7 +45,7 @@ $timestamp = $clock->now()->getTimestamp();
45
45
46
46
## 2.1 ClockInterface
47
47
48
- The clock interface defines the most basic operations to read the current time and date from the clock.
48
+ The clock interface defines the most basic operation to read the current time and date from the clock.
49
49
It MUST return the time as a ` DateTimeImmutable ` .
50
50
51
51
~~~ php
You can’t perform that action at this time.
0 commit comments