@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | ], true)); |
| 84 | 84 | |
| 85 | 85 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); |
| 86 | - curl_setopt($ch, CURLOPT_HEADERFUNCTION, function ($curl, $header) use (&$headers) { |
|
| 86 | + curl_setopt($ch, CURLOPT_HEADERFUNCTION, function($curl, $header) use (&$headers) { |
|
| 87 | 87 | $len = strlen($header); |
| 88 | 88 | $header = explode(':', $header, 2); |
| 89 | 89 | if (count($header) < 2) { |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | |
| 98 | 98 | curl_close($ch); |
| 99 | 99 | } catch (Exception $e) { |
| 100 | - $this->logger->error('Error on ForwardAPI::'.$this->ENDPOINT.' = ' . $e->getMessage()); |
|
| 100 | + $this->logger->error('Error on ForwardAPI::' . $this->ENDPOINT . ' = ' . $e->getMessage()); |
|
| 101 | 101 | return null; |
| 102 | 102 | } |
| 103 | 103 | return ([ |