Passed
Push — main ( 7b06b9...aecaa1 )
by Leandro
11:32
created
src/Itau/API/ItauCertificate.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
         $endpoint = '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
         // Verify error
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
             ];
58 58
         }
59 59
 
60
-        if (! $response) {
60
+        if (!$response) {
61 61
             throw new Exception("Empty response, curl_error: $errorMessage", $statusCode);
62 62
         }
63 63
         return $response;
Please login to merge, or discard this patch.