Skip to content

Commit 907f6f1

Browse files
committed
Fix phpstan
1 parent 2dcbaa7 commit 907f6f1

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
@@ -38,7 +38,7 @@ public function get_range( $start_date, $end_date ) {
3838
* @param \DateTime $end_date The end date.
3939
* @param string $frequency The frequency. Can be 'daily', 'weekly', 'monthly'.
4040
*
41-
* @return array
41+
* @return array <array{start_date: \DateTime, end_date: \DateTime}>
4242
*/
4343
public function get_periods( $start_date, $end_date, $frequency ) {
4444
$end_date->modify( '+1 day' );

0 commit comments

Comments
 (0)