Skip to content

Commit 0ed20f0

Browse files
authored
Merge pull request #99 from tharropoulos/php-7.4-backwards-compat
fix(config): remove type annotation on `getClient` for backwards compat
2 parents 7c7b994 + fa24938 commit 0ed20f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Lib/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public function getLogger(): LoggerInterface
235235
/**
236236
* @return ClientInterface | HttpMethodsClient
237237
*/
238-
public function getClient(): ClientInterface | HttpMethodsClient
238+
public function getClient()
239239
{
240240
if ($this->client === null) {
241241
$discoveredClient = Psr18ClientDiscovery::find();

0 commit comments

Comments
 (0)