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