@@ -114,7 +114,18 @@ discard block |
||
114 | 114 | } |
115 | 115 | |
116 | 116 | interface BambooHTTP { |
117 | + |
|
118 | + /** |
|
119 | + * @param string $username |
|
120 | + * @param string $password |
|
121 | + * |
|
122 | + * @return void |
|
123 | + */ |
|
117 | 124 | function setBasicAuth($username, $password); |
125 | + |
|
126 | + /** |
|
127 | + * @return BambooHTTPResponse |
|
128 | + */ |
|
118 | 129 | function sendRequest(BambooHTTPRequest $request); |
119 | 130 | } |
120 | 131 | |
@@ -193,8 +204,8 @@ discard block |
||
193 | 204 | * Perform the request described by the BambooHTTPRequest. Return a |
194 | 205 | * BambooHTTPResponse describing the response. |
195 | 206 | * |
196 | - * @param \BambooHR\API\BambooHTTPRequest $request |
|
197 | - * @return \BambooHR\API\BambooHTTPResponse |
|
207 | + * @param BambooHTTPRequest $request |
|
208 | + * @return BambooHTTPResponse |
|
198 | 209 | */ |
199 | 210 | function sendRequest(BambooHTTPRequest $request) { |
200 | 211 | $response=new BambooHTTPResponse(); |
@@ -404,8 +415,6 @@ discard block |
||
404 | 415 | |
405 | 416 | /** |
406 | 417 | * |
407 | - * @param int $employeeId |
|
408 | - * @param array $fieldValues |
|
409 | 418 | * @return \BambooHR\API\BambooHTTPResponse |
410 | 419 | * @link http://www.bamboohr.com/api/documentation/employees.php#addEmployee |
411 | 420 | */ |