Explorar el Código

Merge pull request #84 from grafitus/master

A very small addition for chaining methods.
emanuele45 hace 12 años
padre
commit
5ab79ba1fc
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      Sources/Class-CurlFetchWeb.php

+ 2 - 0
Sources/Class-CurlFetchWeb.php

@@ -87,6 +87,8 @@ class curl_fetch_web_data
 		// set the options and get it
 		$this->set_options();
 		$this->curl_request(str_replace(' ', '%20', $url));
+
+		return $this;
 	}
 
 	/**