Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekatarnls committed Mar 30, 2024
1 parent 57ac23a commit 4d599a6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/Carbon/CarbonInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -1661,7 +1661,7 @@ public function diffForHumans($other = null, $syntax = null, $short = false, $pa
public function diffInDays($date = null, bool $absolute = false, bool $utc = false): float;

/**
* Get the difference in days using a filter closure rounded down.
* Get the difference in days using a filter closure.
*
* @param Closure $callback
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
Expand All @@ -1682,7 +1682,7 @@ public function diffInDaysFiltered(Closure $callback, $date = null, bool $absolu
public function diffInHours($date = null, bool $absolute = false): float;

/**
* Get the difference in hours using a filter closure rounded down.
* Get the difference in hours using a filter closure.
*
* @param Closure $callback
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
Expand Down Expand Up @@ -1767,7 +1767,7 @@ public function diffInSeconds($date = null, bool $absolute = false): float;
public function diffInUnit(Unit|string $unit, $date = null, bool $absolute = false, bool $utc = false): float;

/**
* Get the difference in weekdays rounded down.
* Get the difference in weekdays.
*
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
* @param bool $absolute Get the absolute of the difference
Expand All @@ -1777,7 +1777,7 @@ public function diffInUnit(Unit|string $unit, $date = null, bool $absolute = fal
public function diffInWeekdays($date = null, bool $absolute = false): int;

/**
* Get the difference in weekend days using a filter rounded down.
* Get the difference in weekend days using a filter.
*
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
* @param bool $absolute Get the absolute of the difference
Expand Down
8 changes: 4 additions & 4 deletions src/Carbon/Traits/Difference.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public function diffInDays($date = null, bool $absolute = false, bool $utc = fal
}

/**
* Get the difference in days using a filter closure rounded down.
* Get the difference in days using a filter closure.
*
* @param Closure $callback
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
Expand All @@ -299,7 +299,7 @@ public function diffInDaysFiltered(Closure $callback, $date = null, bool $absolu
}

/**
* Get the difference in hours using a filter closure rounded down.
* Get the difference in hours using a filter closure.
*
* @param Closure $callback
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
Expand Down Expand Up @@ -341,7 +341,7 @@ public function diffFiltered(CarbonInterval $ci, Closure $callback, $date = null
}

/**
* Get the difference in weekdays rounded down.
* Get the difference in weekdays.
*
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
* @param bool $absolute Get the absolute of the difference
Expand All @@ -358,7 +358,7 @@ public function diffInWeekdays($date = null, bool $absolute = false): int
}

/**
* Get the difference in weekend days using a filter rounded down.
* Get the difference in weekend days using a filter.
*
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
* @param bool $absolute Get the absolute of the difference
Expand Down

0 comments on commit 4d599a6

Please sign in to comment.