Skip to content

Commit 9589904

Browse files
committed
Fix typo
1 parent aa6555f commit 9589904

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Duration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public static function zero(): Duration
6363
* This will parse the ISO-8601 duration format `PnDTnHnMn.nS`
6464
* which is the format returned by `__toString()`.
6565
*
66-
* All of the values (days, hours, minutes, seconds, nanoseconds) are optional,
66+
* All the values (days, hours, minutes, seconds, nanoseconds) are optional,
6767
* but the duration must at least contain one of the (days, hours, minutes, seconds) values.
6868
*
6969
* A day is considered to by 24 hours, or 86400 seconds.
@@ -143,7 +143,7 @@ public static function parse(string $text): Duration
143143
* This method allows an arbitrary number of nanoseconds to be passed in.
144144
* The factory will alter the values of the second and nanosecond in order
145145
* to ensure that the stored nanosecond is in the range 0 to 999,999,999.
146-
* For example, the following will result in the exactly the same duration:
146+
* For example, the following will result in exactly the same duration:
147147
*
148148
* * Duration::ofSeconds(3, 1);
149149
* * Duration::ofSeconds(4, -999999999);

0 commit comments

Comments
 (0)