Skip to content

Commit

Permalink
Fix class name to identify client version (#362)
Browse files Browse the repository at this point in the history
Class "Vonage\Versions" not found 

```php
return Versions::getVersion('vonage/client-core');
```
  • Loading branch information
SergkeiM authored Feb 3, 2023
1 parent 49272f3 commit 40e2f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ protected function needsKeypairAuthentication(RequestInterface $request): bool

protected function getVersion(): string
{
return Versions::getVersion('vonage/client-core');
return InstalledVersions::getVersion('vonage/client-core');
}

public function getLogger(): ?LoggerInterface
Expand Down

0 comments on commit 40e2f78

Please sign in to comment.