mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-10 17:23:12 +08:00
Replaced usage of deprecated methods in DateRange class
This commit is contained in:
@@ -19,7 +19,7 @@ final class VisitsParams extends AbstractInfinitePaginableListParams
|
||||
public readonly bool $excludeBots = false,
|
||||
) {
|
||||
parent::__construct($page, $itemsPerPage);
|
||||
$this->dateRange = $dateRange ?? DateRange::emptyInstance();
|
||||
$this->dateRange = $dateRange ?? DateRange::allTime();
|
||||
}
|
||||
|
||||
public static function fromRawData(array $query): self
|
||||
|
||||
Reference in New Issue
Block a user