Completed
Push — master ( 090d63...2eebbc )
by Dmitry
01:53
created
examples/pingback.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.