Skip to content

Commit

Permalink
Fix Date class methods docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Apr 3, 2024
1 parent 5be2d08 commit 845996d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions includes/class-date.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class Date {
/**
* Get a range of dates.
*
* @param string|int $start The start date.
* @param string|int $end The end date.
* @param \DateTime $start The start date.
* @param \DateTime $end The end date.
*
* @return array [
* 'start' => \DateTime,
Expand All @@ -34,9 +34,9 @@ public static function get_range( $start, $end ) {
/**
* Get an array of periods with start and end dates.
*
* @param int|string $start The start date.
* @param int|string $end The end date.
* @param string $frequency The frequency. Can be 'daily', 'weekly', 'monthly'.
* @param \DateTime $start The start date.
* @param \DateTime $end The end date.
* @param string $frequency The frequency. Can be 'daily', 'weekly', 'monthly'.
*
* @return array
*/
Expand Down

0 comments on commit 845996d

Please sign in to comment.