@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | } |
109 | 109 | |
110 | 110 | /** |
111 | - * @return array containing client id and secret |
|
111 | + * @return string[] containing client id and secret |
|
112 | 112 | */ |
113 | 113 | public function getCredentials() |
114 | 114 | { |
@@ -147,8 +147,8 @@ discard block |
||
147 | 147 | |
148 | 148 | /** |
149 | 149 | * General purpose 'GET' request against API |
150 | - * @param $entrypoint string contains either an @entrypoint or full URL obtained from a resource |
|
151 | - * @return mixed |
|
150 | + * @param string $entrypoint string contains either an @entrypoint or full URL obtained from a resource |
|
151 | + * @return \stdClass |
|
152 | 152 | */ |
153 | 153 | public function get($entrypoint) |
154 | 154 | { |
@@ -157,9 +157,9 @@ discard block |
||
157 | 157 | |
158 | 158 | /** |
159 | 159 | * General purpose 'POST' request against API |
160 | - * @param $entrypoint string contains either an @entrypoint or full URL obtained from a resource |
|
160 | + * @param string $entrypoint string contains either an @entrypoint or full URL obtained from a resource |
|
161 | 161 | * @param $json string contains JSON formatted data to post |
162 | - * @return mixed |
|
162 | + * @return \stdClass |
|
163 | 163 | */ |
164 | 164 | public function post($entrypoint, $json) |
165 | 165 | { |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | /** |
170 | 170 | * General purpose 'PUT' request against API |
171 | 171 | * @param $entrypoint string contains either an @entrypoint or full URL obtained from a resource |
172 | - * @return mixed string contains JSON formatted data to put |
|
172 | + * @return \stdClass string contains JSON formatted data to put |
|
173 | 173 | */ |
174 | 174 | public function put($entrypoint, $json) |
175 | 175 | { |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | } |
178 | 178 | |
179 | 179 | /** |
180 | - * @param $method |
|
180 | + * @param string $method |
|
181 | 181 | * @param $entrypoint |
182 | 182 | * @param null $json |
183 | 183 | * @return \stdClass object containing JSON decoded response - note this can be an error response for normally |