@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | */ |
| 62 | 62 | public function getCaptchaResultBulk(array $captchaIds) |
| 63 | 63 | { |
| 64 | - $response = $this->getHttpClient()->request('GET', '/res.php?' . http_build_query([ |
|
| 64 | + $response = $this->getHttpClient()->request('GET', '/res.php?'.http_build_query([ |
|
| 65 | 65 | 'key' => $this->apiKey, |
| 66 | 66 | 'action' => 'get', |
| 67 | 67 | 'ids' => join(',', $captchaIds) |
@@ -337,7 +337,7 @@ discard block |
||
| 337 | 337 | continue; |
| 338 | 338 | } |
| 339 | 339 | |
| 340 | - $this->getLogger()->info("Elapsed " . (time()-$startTime) . " second(s)."); |
|
| 340 | + $this->getLogger()->info("Elapsed ".(time() - $startTime)." second(s)."); |
|
| 341 | 341 | |
| 342 | 342 | return $result; |
| 343 | 343 | } |
@@ -435,7 +435,7 @@ discard block |
||
| 435 | 435 | continue; |
| 436 | 436 | } |
| 437 | 437 | |
| 438 | - $this->getLogger()->info("Elapsed " . (time()-$startTime) . " second(s)."); |
|
| 438 | + $this->getLogger()->info("Elapsed ".(time() - $startTime)." second(s)."); |
|
| 439 | 439 | |
| 440 | 440 | return $result; |
| 441 | 441 | } |
@@ -461,7 +461,7 @@ discard block |
||
| 461 | 461 | |
| 462 | 462 | if (JSON_ERROR_NONE !== json_last_error()) { |
| 463 | 463 | throw new InvalidArgumentException( |
| 464 | - 'json_decode error: ' . json_last_error_msg() |
|
| 464 | + 'json_decode error: '.json_last_error_msg() |
|
| 465 | 465 | ); |
| 466 | 466 | } |
| 467 | 467 | |