mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-08 20:42:42 +00:00
Included @throws in API that was missing.
This commit is contained in:
parent
9bc3e567c1
commit
fedadc091c
28 changed files with 46 additions and 13 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue