@@ -25,7 +25,7 @@ |
||
25 | 25 | return (isset($this->apiToken)); |
26 | 26 | } |
27 | 27 | |
28 | - public function getApiToken() |
|
28 | + public function getApiToken () |
|
29 | 29 | { |
30 | 30 | return $this->apiToken; |
31 | 31 | } |
@@ -387,7 +387,7 @@ |
||
387 | 387 | * |
388 | 388 | * @return string The base URL to call |
389 | 389 | */ |
390 | - protected static function apiEndpoint ($apiPrefix = NULL) |
|
390 | + protected static function apiEndpoint ($apiPrefix = null) |
|
391 | 391 | { |
392 | 392 | $apiSection = isset($apiPrefix) ? $apiPrefix : static::API_PREFIX; |
393 | 393 |
@@ -48,14 +48,14 @@ discard block |
||
48 | 48 | * |
49 | 49 | * @internal |
50 | 50 | */ |
51 | - const API_VERSION = "v1"; |
|
51 | + const API_VERSION = "v1"; |
|
52 | 52 | |
53 | 53 | /** |
54 | 54 | * The suffix that is appended to the URL to access functionality for certain objects |
55 | 55 | * |
56 | 56 | * @internal |
57 | 57 | */ |
58 | - const API_PREFIX = ""; |
|
58 | + const API_PREFIX = ""; |
|
59 | 59 | |
60 | 60 | /** |
61 | 61 | * The API key used to make the URL calls |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | */ |
138 | 138 | protected function assignResults () |
139 | 139 | { |
140 | - foreach($this->jsonResponse as $key => $val) |
|
140 | + foreach ($this->jsonResponse as $key => $val) |
|
141 | 141 | { |
142 | 142 | if (property_exists(get_called_class(), $key)) |
143 | 143 | { |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | /** |
163 | 163 | * Overload this function if any class variables need to be initialized to a default value |
164 | 164 | */ |
165 | - protected function initializeValues() {} |
|
165 | + protected function initializeValues () {} |
|
166 | 166 | |
167 | 167 | /** |
168 | 168 | * Inject data into the array that will be mapped into individual instance variables. This function must be called |
@@ -162,7 +162,9 @@ |
||
162 | 162 | /** |
163 | 163 | * Overload this function if any class variables need to be initialized to a default value |
164 | 164 | */ |
165 | - protected function initializeValues() {} |
|
165 | + protected function initializeValues() |
|
166 | + { |
|
167 | +} |
|
166 | 168 | |
167 | 169 | /** |
168 | 170 | * Inject data into the array that will be mapped into individual instance variables. This function must be called |