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