@@ -335,8 +335,8 @@ |
||
| 335 | 335 | /** |
| 336 | 336 | * Extracts the response body and headers from a full curl response |
| 337 | 337 | * |
| 338 | - * @param curl_handle $ch The curl handle for the request |
|
| 339 | - * @param string $rawResponse The raw response text |
|
| 338 | + * @param resource $ch The curl handle for the request |
|
| 339 | + * @param string $rawHeaders |
|
| 340 | 340 | * |
| 341 | 341 | * @return RestfulService_Response The response object |
| 342 | 342 | */ |
@@ -144,13 +144,13 @@ |
||
| 144 | 144 | * @see http://uk3.php.net/manual/en/function.setcookie.php |
| 145 | 145 | * |
| 146 | 146 | * @param string $name The name of the cookie |
| 147 | - * @param string|array|false $value The value for the cookie to hold |
|
| 147 | + * @param false|string $value The value for the cookie to hold |
|
| 148 | 148 | * @param int $expiry The number of days until expiry |
| 149 | 149 | * @param string $path The path to save the cookie on (falls back to site base) |
| 150 | 150 | * @param string $domain The domain to make the cookie available on |
| 151 | 151 | * @param boolean $secure Can the cookie only be sent over SSL? |
| 152 | 152 | * @param boolean $httpOnly Prevent the cookie being accessible by JS |
| 153 | - * @return boolean If the cookie was set or not; doesn't mean it's accepted by the browser |
|
| 153 | + * @return boolean|null If the cookie was set or not; doesn't mean it's accepted by the browser |
|
| 154 | 154 | */ |
| 155 | 155 | protected function outputCookie( |
| 156 | 156 | $name, $value, $expiry = 90, $path = null, $domain = null, $secure = false, $httpOnly = true |