Test Setup Failed
Push — master ( 34b7ca...45ccc0 )
by Lyal
04:24
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/Traits/HasAttributes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,8 +93,8 @@
 block discarded – undo
93 93
 
94 94
         return
95 95
             $field === 'include'
96
-            || in_array(str_singular($field) . '_id', $this->getFields(), false)
97
-            || in_array(str_singular($field) . '_ids', $this->getFields(), false)
96
+            || in_array(str_singular($field).'_id', $this->getFields(), false)
97
+            || in_array(str_singular($field).'_ids', $this->getFields(), false)
98 98
             || in_array($field, $this->getFields(), false)
99 99
             || in_array($field, $this->getHidden(), false);
100 100
     }
Please login to merge, or discard this patch.
src/Exceptions/UnknownResourceException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public function __construct($name)
8 8
     {
9
-        $message = 'Unknown checkr resource: ' . $name;
9
+        $message = 'Unknown checkr resource: '.$name;
10 10
         parent::__construct($message);
11 11
     }
12 12
 }
Please login to merge, or discard this patch.