Parcourir la source

Merge pull request #84 from grafitus/master

A very small addition for chaining methods.
emanuele45 il y a 12 ans
Parent
commit
5ab79ba1fc
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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;
 	}
 
 	/**