diff --git a/src/Request/RequestInterface.php b/src/Request/RequestInterface.php index 4d14d6c..04f223f 100755 --- a/src/Request/RequestInterface.php +++ b/src/Request/RequestInterface.php @@ -45,7 +45,7 @@ public function identify(): Identify; * @throws NoRecordsMatchException * @throws NoSetHierarchyException */ - public function listIdentifiers(string $metadataPrefix, ?\DateTimeInterface $from = null, ?\DateTimeInterface $until = null, ?string $set = null): ListIdentifier; + public function listIdentifiers(string $metadataPrefix, \DateTimeInterface $from = null, \DateTimeInterface $until = null, string $set = null): ListIdentifier; /** * @throws BadArgumentException @@ -61,7 +61,7 @@ public function listMetadataFormats(?string $identifier): MetadataFormats; * @throws NoRecordsMatchException * @throws NoSetHierarchyException */ - public function listRecords(string $metadataPrefix, ?\DateTimeInterface $from = null, ?\DateTimeInterface $until = null, ?string $set = null): ListRecord; + public function listRecords(string $metadataPrefix, \DateTimeInterface $from = null, \DateTimeInterface $until = null, string $set = null): ListRecord; /** * @throws BadArgumentException