diff --git a/src/Dto/Search/Query/Facet/AbsoluteDateRangeFacet.php b/src/Dto/Search/Query/Facet/AbsoluteDateRangeFacet.php index d7da3da..dce9d9e 100644 --- a/src/Dto/Search/Query/Facet/AbsoluteDateRangeFacet.php +++ b/src/Dto/Search/Query/Facet/AbsoluteDateRangeFacet.php @@ -17,8 +17,8 @@ class AbsoluteDateRangeFacet extends Facet */ public function __construct( string $key, - public readonly DateTime $from, - public readonly DateTime $to, + public readonly ?DateTime $from, + public readonly ?DateTime $to, public readonly ?DateInterval $gap, array $excludeFilter = [] ) {