Skip to content

Commit

Permalink
Fix type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
j-panzer committed Jan 8, 2024
1 parent 1c03848 commit 3f04ce8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Request/RequestInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3f04ce8

Please sign in to comment.