From 97398b14af40ef37fd1cdc8ecabe5b6c5f3392f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dezs=C5=91=20BICZ=C3=93?= Date: Thu, 19 Oct 2023 09:11:16 +0200 Subject: [PATCH] Add union type to suppress deprecation warning --- src/ClientInterface.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ClientInterface.php b/src/ClientInterface.php index bfe7f7ea..ecdc50ae 100644 --- a/src/ClientInterface.php +++ b/src/ClientInterface.php @@ -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.