diff --git a/src/Coinpaprika/Client.php b/src/Coinpaprika/Client.php index a9f8c39..d5a6fe1 100644 --- a/src/Coinpaprika/Client.php +++ b/src/Coinpaprika/Client.php @@ -157,18 +157,6 @@ public function getApiVersion(): string return $this->apiVersion; } - /** - * Get the latest tag from a git repository. - * - * @return string - */ - public function getClientVersion(): string - { - $version = trim(`git describe --tags --abbrev=0`); - - return $version; - } - /** * @param string $method * @param string $url @@ -180,7 +168,7 @@ public function getClientVersion(): string protected function sendRequest(string $method, string $url, array $headers = []): ResponseInterface { $defaultHeaders = [ - 'User-Agent' => sprintf('Coinpaprika API Client - PHP (%s)', $this->getClientVersion()) + 'User-Agent' => 'Coinpaprika API Client - PHP' ]; return $this->httpClient->request($method, $url, [