Passed
Push — main ( aecaa1...99996f )
by Leandro
01:27
created
src/Itau/API/ItauCertificate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.