Passed
Push — master ( 2db073...af2bd5 )
by Lyal
01:15 queued 11s
created
src/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -208,12 +208,12 @@
 block discarded – undo
208 208
     {
209 209
         $body = '';
210 210
         $options = array_merge($this->getOptions(), $options);
211
-        $options['auth'] = [$this->getKey() . ':', ''];
211
+        $options['auth'] = [$this->getKey().':', ''];
212 212
 
213 213
         try {
214
-            $response = $this->getHttpClient()->request($method, $this->getApiEndPoint() . $path, $options);
214
+            $response = $this->getHttpClient()->request($method, $this->getApiEndPoint().$path, $options);
215 215
             $this->setLastResponse($response);
216
-            $body = json_decode((string)$response->getBody());
216
+            $body = json_decode((string) $response->getBody());
217 217
         } catch (BadResponseException $exception) {
218 218
             $this->handleError($exception);
219 219
         }
Please login to merge, or discard this patch.
src/Laravel/CheckrServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     {
22 22
         $this->app['router']->aliasMiddleware('checkr_webhook', Webhook::class);
23 23
 
24
-        $this->app->bind('lyal.checkr', function () {
24
+        $this->app->bind('lyal.checkr', function() {
25 25
             $key = App::environment('production') ? config('checkr.production_key') : config('checkr.testing_key');
26 26
 
27 27
             return new Client($key, config('checkr.options', []));
Please login to merge, or discard this patch.