Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Jul 17, 2023
1 parent aa6555f commit a2356dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Duration.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static function zero(): Duration
* This will parse the ISO-8601 duration format `PnDTnHnMn.nS`
* which is the format returned by `__toString()`.
*
* All of the values (days, hours, minutes, seconds, nanoseconds) are optional,
* All the values (days, hours, minutes, seconds, nanoseconds) are optional,
* but the duration must at least contain one of the (days, hours, minutes, seconds) values.
*
* A day is considered to by 24 hours, or 86400 seconds.
Expand Down Expand Up @@ -143,7 +143,7 @@ public static function parse(string $text): Duration
* This method allows an arbitrary number of nanoseconds to be passed in.
* The factory will alter the values of the second and nanosecond in order
* to ensure that the stored nanosecond is in the range 0 to 999,999,999.
* For example, the following will result in the exactly the same duration:
* For example, the following will result in exactly the same duration:
*
* * Duration::ofSeconds(3, 1);
* * Duration::ofSeconds(4, -999999999);
Expand Down

0 comments on commit a2356dd

Please sign in to comment.