Passed
Push — main ( e581bb...d1e597 )
by
unknown
03:06
created
src/Message/CompletePurchaseRequest.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
     }
17 17
     public function sendData($data)
18 18
     {
19
-        if ( !$data['sessionId'] ) {
19
+        if (!$data['sessionId']) {
20 20
             throw new InvalidRequestException('Session id is required');
21 21
         }
22 22
 
@@ -25,11 +25,11 @@  discard block
 block discarded – undo
25 25
         $headers = [
26 26
             'Accept' => 'application/json',
27 27
             'Content-Type' => 'application/json',
28
-            'Authorization' => 'Basic ' . $this->getAuthorization()
28
+            'Authorization' => 'Basic '.$this->getAuthorization()
29 29
         ];
30 30
 
31 31
         try {
32
-            $httpResponse = $this->httpClient->request('GET', $this->getEndpoint('sessions/' . $sessionId), $headers);
32
+            $httpResponse = $this->httpClient->request('GET', $this->getEndpoint('sessions/'.$sessionId), $headers);
33 33
         } catch (\Exception $exception) {
34 34
             throw new InvalidRequestException($exception->getMessage());
35 35
         }
Please login to merge, or discard this patch.