Completed
Push — master ( c1e227...3ff771 )
by Dmitry
03:04
created
src/Client.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
     /**
158 158
      * Reports rucaptcha for good recognition.
159 159
      *
160
-     * @param $captchaId
160
+     * @param string $captchaId
161 161
      * @return bool
162 162
      * @throws ErrorResponseException
163 163
      * @throws GuzzleException
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public function getCaptchaResultBulk(array $captchaIds)
65 65
     {
66
-        $response = $this->getHttpClient()->request('GET', '/res.php?' . http_build_query([
66
+        $response = $this->getHttpClient()->request('GET', '/res.php?'.http_build_query([
67 67
                 'key' => $this->apiKey,
68 68
                 'action' => 'get',
69 69
                 'ids' => join(',', $captchaIds)
@@ -429,7 +429,7 @@  discard block
 block discarded – undo
429 429
                 continue;
430 430
             }
431 431
 
432
-            $this->getLogger()->info("Elapsed " . (time()-$startTime) . " second(s).");
432
+            $this->getLogger()->info("Elapsed ".(time() - $startTime)." second(s).");
433 433
 
434 434
             return $result;
435 435
         }
@@ -513,7 +513,7 @@  discard block
 block discarded – undo
513 513
                 continue;
514 514
             }
515 515
 
516
-            $this->getLogger()->info("Elapsed " . (time()-$startTime) . " second(s).");
516
+            $this->getLogger()->info("Elapsed ".(time() - $startTime)." second(s).");
517 517
 
518 518
             return $result;
519 519
         }
@@ -615,7 +615,7 @@  discard block
 block discarded – undo
615 615
                 continue;
616 616
             }
617 617
 
618
-            $this->getLogger()->info("Elapsed " . (time()-$startTime) . " second(s).");
618
+            $this->getLogger()->info("Elapsed ".(time() - $startTime)." second(s).");
619 619
 
620 620
             return $result;
621 621
         }
@@ -642,7 +642,7 @@  discard block
 block discarded – undo
642 642
 
643 643
         if (JSON_ERROR_NONE !== json_last_error()) {
644 644
             throw new InvalidArgumentException(
645
-                'json_decode error: ' . json_last_error_msg()
645
+                'json_decode error: '.json_last_error_msg()
646 646
             );
647 647
         }
648 648
 
Please login to merge, or discard this patch.