@@ -72,7 +72,7 @@ |
||
| 72 | 72 | { |
| 73 | 73 | |
| 74 | 74 | if (!in_array($endpoint, $this->supportedBatchEndpoints)) { |
| 75 | - throw new UnsupportedBatchEndpointException("Batch endpoint '" . $endpoint . "' is not supported"); |
|
| 75 | + throw new UnsupportedBatchEndpointException("Batch endpoint '".$endpoint."' is not supported"); |
|
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | $response = $this->get( |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | */ |
| 49 | 49 | public function get($endpoint) |
| 50 | 50 | { |
| 51 | - $endpoint = "\\Choccybiccy\\HumanApi\\Endpoint\\" . ucfirst($endpoint); |
|
| 51 | + $endpoint = "\\Choccybiccy\\HumanApi\\Endpoint\\".ucfirst($endpoint); |
|
| 52 | 52 | if (class_exists($endpoint)) { |
| 53 | 53 | /** @var Endpoint $endpoint */ |
| 54 | 54 | $endpoint = new $endpoint; |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | $parts = array_merge( |
| 61 | 61 | array( |
| 62 | 62 | $this->apiUrl, |
| 63 | - "v" . $this->apiVersion, |
|
| 63 | + "v".$this->apiVersion, |
|
| 64 | 64 | $api, |
| 65 | 65 | ), |
| 66 | 66 | $parts |