1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00

tests: debug travis

This commit is contained in:
Torsten Dittmann 2021-04-28 08:10:40 +02:00
parent c557e6c471
commit 107bbf57fb

View file

@ -156,6 +156,7 @@ class Client
*/
public function call(string $method, string $path = '', array $headers = [], array $params = [])
{
sleep(2);
$headers = array_merge($this->headers, $headers);
$ch = curl_init($this->endpoint . $path . (($method == self::METHOD_GET && !empty($params)) ? '?' . http_build_query($params) : ''));
$responseHeaders = [];