@@ -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 |
@@ -14,7 +14,7 @@ |
||
14 | 14 | */ |
15 | 15 | protected $type = "medical/test_results"; |
16 | 16 | |
17 | - function readCollection(){ |
|
17 | + function readCollection() { |
|
18 | 18 | |
19 | 19 | } |
20 | 20 | } |
@@ -15,7 +15,7 @@ |
||
15 | 15 | */ |
16 | 16 | protected $type = "medical/medications"; |
17 | 17 | |
18 | - function readCollection(){ |
|
18 | + function readCollection() { |
|
19 | 19 | |
20 | 20 | } |
21 | 21 | } |