From fa249381a1afc0106a9b8a4c8b3dac6debdf83d8 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Tue, 15 Jul 2025 13:25:43 +0300 Subject: [PATCH] fix(config): remove type annotation on `getClient` for backwards compat - keep phpdoc in place for type hints --- src/Lib/Configuration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Lib/Configuration.php b/src/Lib/Configuration.php index 96a282ac..e0767ca2 100644 --- a/src/Lib/Configuration.php +++ b/src/Lib/Configuration.php @@ -235,7 +235,7 @@ public function getLogger(): LoggerInterface /** * @return ClientInterface | HttpMethodsClient */ - public function getClient(): ClientInterface | HttpMethodsClient + public function getClient() { if ($this->client === null) { $discoveredClient = Psr18ClientDiscovery::find();