Skip to content

Commit 40e2f78

Browse files
authored
Fix class name to identify client version (#362)
Class "Vonage\Versions" not found ```php return Versions::getVersion('vonage/client-core'); ```
1 parent 49272f3 commit 40e2f78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ protected function needsKeypairAuthentication(RequestInterface $request): bool
588588

589589
protected function getVersion(): string
590590
{
591-
return Versions::getVersion('vonage/client-core');
591+
return InstalledVersions::getVersion('vonage/client-core');
592592
}
593593

594594
public function getLogger(): ?LoggerInterface

0 commit comments

Comments
 (0)