File tree 1 file changed +1
-13
lines changed
1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -157,18 +157,6 @@ public function getApiVersion(): string
157
157
return $ this ->apiVersion ;
158
158
}
159
159
160
- /**
161
- * Get the latest tag from a git repository.
162
- *
163
- * @return string
164
- */
165
- public function getClientVersion (): string
166
- {
167
- $ version = trim (`git describe --tags --abbrev=0 `);
168
-
169
- return $ version ;
170
- }
171
-
172
160
/**
173
161
* @param string $method
174
162
* @param string $url
@@ -180,7 +168,7 @@ public function getClientVersion(): string
180
168
protected function sendRequest (string $ method , string $ url , array $ headers = []): ResponseInterface
181
169
{
182
170
$ defaultHeaders = [
183
- 'User-Agent ' => sprintf ( 'Coinpaprika API Client - PHP (%s) ' , $ this -> getClientVersion ())
171
+ 'User-Agent ' => 'Coinpaprika API Client - PHP '
184
172
];
185
173
186
174
return $ this ->httpClient ->request ($ method , $ url , [
You can’t perform that action at this time.
0 commit comments