Included @throws in API that was missing.

This commit is contained in:
Juan Basso 2011-07-31 16:55:52 -04:00
parent 9bc3e567c1
commit fedadc091c
28 changed files with 46 additions and 13 deletions

View file

@ -203,7 +203,7 @@ class HttpSocket extends CakeSocket {
*
* @param mixed $resource Resource or false to disable the resource use
* @return void
* @throw SocketException
* @throws SocketException
*/
public function setContentResource($resource) {
if ($resource === false) {
@ -222,6 +222,7 @@ class HttpSocket extends CakeSocket {
*
* @param mixed $request Either an URI string, or an array defining host/uri
* @return mixed false on error, HttpResponse on success
* @throws SocketException
*/
public function request($request = array()) {
$this->reset(false);