@@ -208,12 +208,12 @@ |
||
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 | } |
@@ -93,8 +93,8 @@ |
||
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 | } |
@@ -6,7 +6,7 @@ |
||
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 | } |