Skip to content

Commit

Permalink
#766 Using DocumentInterface instead of Document.
Browse files Browse the repository at this point in the history
  • Loading branch information
haogatyp committed Oct 5, 2023
1 parent 882c038 commit 8c5cec9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/oai/models/DefaultServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -1350,8 +1350,8 @@ public function setVisible($visible)
/**
* Checks if exporting a document is allowed, if not an exception will be thrown.
*
* @param Document $document
* @param string $metadataPrefix
* @param DocumentInterface $document
* @param string $metadataPrefix
* @throws Oai_Model_Exception
*/
protected function checkExportAllowed($document, $metadataPrefix)
Expand Down

0 comments on commit 8c5cec9

Please sign in to comment.