diff --git a/includes/class-date.php b/includes/class-date.php index 7a5f16abe..a971597c0 100644 --- a/includes/class-date.php +++ b/includes/class-date.php @@ -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, @@ -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 */