@@ -6,7 +6,7 @@ |
||
6 | 6 | { |
7 | 7 | public function __construct($code, $response) |
8 | 8 | { |
9 | - $message = 'The request failed with the error: ' . $code . '. Response: ' . $response; |
|
9 | + $message = 'The request failed with the error: '.$code.'. Response: '.$response; |
|
10 | 10 | parent::__construct($message); |
11 | 11 | } |
12 | 12 | } |
13 | 13 | \ No newline at end of file |
@@ -5,7 +5,7 @@ |
||
5 | 5 | { |
6 | 6 | public function __construct($name) |
7 | 7 | { |
8 | - $message = 'Unknown checkr resource: ' . $name; |
|
8 | + $message = 'Unknown checkr resource: '.$name; |
|
9 | 9 | parent::__construct($message); |
10 | 10 | } |
11 | 11 |
@@ -6,7 +6,7 @@ |
||
6 | 6 | { |
7 | 7 | public function __construct($object) |
8 | 8 | { |
9 | - $message = 'Id must be set to save an entity. Entity values: ' . json_encode($object->getAttributes()); |
|
9 | + $message = 'Id must be set to save an entity. Entity values: '.json_encode($object->getAttributes()); |
|
10 | 10 | parent::__construct($message); |
11 | 11 | } |
12 | 12 | } |
13 | 13 | \ No newline at end of file |
@@ -6,7 +6,7 @@ |
||
6 | 6 | { |
7 | 7 | public function __construct($response) |
8 | 8 | { |
9 | - $message = 'Something went wrong with the Checkr API. Response: ' . $response; |
|
9 | + $message = 'Something went wrong with the Checkr API. Response: '.$response; |
|
10 | 10 | parent::__construct($message); |
11 | 11 | } |
12 | 12 | } |
13 | 13 | \ No newline at end of file |
@@ -6,7 +6,7 @@ |
||
6 | 6 | { |
7 | 7 | public function __construct($class, $key) |
8 | 8 | { |
9 | - $message = 'Unknown attribute on resource ' . $class . ': ' . $key; |
|
9 | + $message = 'Unknown attribute on resource '.$class.': '.$key; |
|
10 | 10 | parent::__construct($message); |
11 | 11 | } |
12 | 12 | } |
13 | 13 | \ No newline at end of file |
@@ -6,7 +6,7 @@ |
||
6 | 6 | { |
7 | 7 | public function __construct($response) |
8 | 8 | { |
9 | - $message = 'The requested resource could not be found. Response: ' . $response; |
|
9 | + $message = 'The requested resource could not be found. Response: '.$response; |
|
10 | 10 | parent::__construct($message); |
11 | 11 | } |
12 | 12 | } |
13 | 13 | \ No newline at end of file |
@@ -6,7 +6,7 @@ |
||
6 | 6 | { |
7 | 7 | public function __construct($response) |
8 | 8 | { |
9 | - $message = 'You do not have permission to access the requested resource. Response: ' . $response; |
|
9 | + $message = 'You do not have permission to access the requested resource. Response: '.$response; |
|
10 | 10 | parent::__construct($message); |
11 | 11 | } |
12 | 12 | } |
13 | 13 | \ No newline at end of file |
@@ -6,7 +6,7 @@ |
||
6 | 6 | { |
7 | 7 | public function __construct($response) |
8 | 8 | { |
9 | - $message = 'The request failed due to a resource conflict. This can occur if you attempt to to create a duplicate of an existing resource as well as when you attempt to delete a resource that is needed for the functioning of other resources. Response: ' . $response; |
|
9 | + $message = 'The request failed due to a resource conflict. This can occur if you attempt to to create a duplicate of an existing resource as well as when you attempt to delete a resource that is needed for the functioning of other resources. Response: '.$response; |
|
10 | 10 | parent::__construct($message); |
11 | 11 | } |
12 | 12 | } |
13 | 13 | \ No newline at end of file |
@@ -6,7 +6,7 @@ |
||
6 | 6 | { |
7 | 7 | public function __construct($response) |
8 | 8 | { |
9 | - $message = 'Authentication with the API key failed. Make sure you are using the correct API key. Response: ' . $response; |
|
9 | + $message = 'Authentication with the API key failed. Make sure you are using the correct API key. Response: '.$response; |
|
10 | 10 | parent::__construct($message); |
11 | 11 | } |
12 | 12 | } |
13 | 13 | \ No newline at end of file |