Skip to content

Commit

Permalink
Add union type to suppress deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mxr576 committed Oct 19, 2023
1 parent bf77952 commit 97398b1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ClientInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,12 @@ public function getJournal(): JournalInterface;

/**
* Returns the URI factory used by the Client.
*
* @return \Http\Message\UriFactory|\Psr\Http\Message\UriFactoryInterface
*
* @todo Restore native return type as \Psr\Http\Message\UriFactoryInterface in 4.0.0.
*/
public function getUriFactory(): UriFactory;
public function getUriFactory();

/**
* Returns the version of the API client.
Expand Down

0 comments on commit 97398b1

Please sign in to comment.