@@ -4,7 +4,7 @@ |
||
4 | 4 | |
5 | 5 | $client = new Rucaptcha\Client(getenv('__RUCAPTCHA_KEY__')); |
6 | 6 | |
7 | -$pingbackUrl = 'http://' . getenv('__HOST__') .'/captcha/pingback.php'; |
|
7 | +$pingbackUrl = 'http://'.getenv('__HOST__').'/captcha/pingback.php'; |
|
8 | 8 | |
9 | 9 | // Add pingback url to allowed list |
10 | 10 | $client->addPingback($pingbackUrl); |
@@ -48,7 +48,7 @@ |
||
48 | 48 | */ |
49 | 49 | public function getCaptchaResultBulk(array $captchaIds) |
50 | 50 | { |
51 | - $response = $this->getHttpClient()->request('GET', '/res.php?' . http_build_query([ |
|
51 | + $response = $this->getHttpClient()->request('GET', '/res.php?'.http_build_query([ |
|
52 | 52 | 'key' => $this->apiKey, |
53 | 53 | 'action' => 'get', |
54 | 54 | 'ids' => join(',', $captchaIds) |