Skip to content

Commit 8167fed

Browse files
committed
phpstan
1 parent 3ed18b0 commit 8167fed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

classes/utils/class-date.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Date {
1818
* @param \DateTime $start_date The start date.
1919
* @param \DateTime $end_date The end date.
2020
*
21-
* @return array <'start_date' => \DateTime, 'end_date' => \DateTime>
21+
* @return array <array<string, \DateTime>>
2222
*/
2323
public function get_range( $start_date, $end_date ) {
2424
$dates = \iterator_to_array( new \DatePeriod( $start_date, new \DateInterval( 'P1D' ), $end_date ), false );

0 commit comments

Comments
 (0)