Completed
Push — master ( e86740...4cff7e )
by Simon
03:33 queued 01:21
created
src/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      * @param string $mode
75 75
      * @param array $clientOptions
76 76
      */
77
-    public function __construct(string $apiKey, $mode = 'production', array $clientOptions = [])
77
+    public function __construct(string $apiKey, $mode = 'production', array $clientOptions = [ ])
78 78
     {
79 79
         $this->apiKey = $apiKey;
80 80
         $this->mode = $mode;
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     {
107 107
         $options = [
108 108
             'headers' => [
109
-                'Authorization' => 'Bearer ' . $this->apiKey,
109
+                'Authorization' => 'Bearer '.$this->apiKey,
110 110
             ]
111 111
         ];
112 112
 
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      */
139 139
     public function post($endpoint, $json)
140 140
     {
141
-        $response = $this->httpClient->request('POST', $this->buildBaseUrl().$endpoint, ['json' => $json]);
141
+        $response = $this->httpClient->request('POST', $this->buildBaseUrl().$endpoint, [ 'json' => $json ]);
142 142
         return $this->handleResponse($response);
143 143
     }
144 144
 
Please login to merge, or discard this patch.