File tree Expand file tree Collapse file tree
src/Kobas/APIClient/Request Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010class Curl implements HttpRequest
1111{
1212 /**
13- * @var null
13+ * @var null|false|resource
1414 */
1515 private $ handle = null ;
1616
@@ -28,7 +28,7 @@ public function init()
2828
2929 /**
3030 * @param $url
31- * @return $this| Curl
31+ * @return Curl
3232 */
3333 public function setUrl ($ url )
3434 {
@@ -38,7 +38,7 @@ public function setUrl($url)
3838 /**
3939 * @param $name
4040 * @param $value
41- * @return $this
41+ * @return Curl
4242 */
4343 public function setOption ($ name , $ value )
4444 {
@@ -48,15 +48,15 @@ public function setOption($name, $value)
4848
4949
5050 /**
51- * @return null
51+ * @return false| resource
5252 */
5353 public function getHandle ()
5454 {
5555 return $ this ->handle ;
5656 }
5757
5858 /**
59- * @return mixed
59+ * @return bool|string
6060 */
6161 public function execute ()
6262 {
@@ -89,7 +89,7 @@ public function getErrorMessage()
8989 }
9090
9191 /**
92- * @return $this
92+ * @return Curl
9393 */
9494 public function close ()
9595 {
You can’t perform that action at this time.
0 commit comments