@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | $endpoint = 'https://sts.itau.com.br/seguranca/v1/certificado/solicitacao'; |
18 | 18 | $headers = [ |
19 | 19 | 'Content-Type: text/plain', |
20 | - 'Authorization: Bearer ' . $token |
|
20 | + 'Authorization: Bearer '.$token |
|
21 | 21 | ]; |
22 | 22 | |
23 | 23 | $curl = curl_init(); |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | if ($response === false) { |
40 | 40 | $error = curl_error($curl); |
41 | 41 | curl_close($curl); |
42 | - throw new ItauException('CURL Error: ' . $error, 100); |
|
42 | + throw new ItauException('CURL Error: '.$error, 100); |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | $statusCode = (int) curl_getinfo($curl, CURLINFO_HTTP_CODE); |