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 Nov 8, 2023
1 parent bf77952 commit da21a00
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/ClientInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
namespace Apigee\Edge;

use Apigee\Edge\HttpClient\Utility\JournalInterface;
use Http\Message\UriFactory;
use Psr\Http\Client\ClientInterface as HttpClient;
use Psr\Http\Message\ResponseInterface;

Expand Down Expand Up @@ -75,8 +74,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 da21a00

Please sign in to comment.