Skip to content

Commit

Permalink
Add CarbonPeriodImmutable class
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekatarnls committed Jan 29, 2023
1 parent 5f0ac3b commit 0d50459
Show file tree
Hide file tree
Showing 38 changed files with 1,198 additions and 619 deletions.
2 changes: 1 addition & 1 deletion src/Carbon/CarbonInterval.php
Original file line number Diff line number Diff line change
Expand Up @@ -1883,7 +1883,7 @@ public function toPeriod(...$params)
/**
* Invert the interval.
*
* @param bool|int $inverted if a parameter is passed, the passed value casted as 1 or 0 is used
* @param bool|int $inverted if a parameter is passed, the passed value cast as 1 or 0 is used
* as the new value of the ->invert property.
*
* @return $this
Expand Down
Loading

0 comments on commit 0d50459

Please sign in to comment.