@@ -115,8 +115,8 @@ discard block |
||
115 | 115 | * - calls set_options to set the curl opts array values based on the defaults and user input |
116 | 116 | * |
117 | 117 | * @param string $url the site we are going to fetch |
118 | - * @param array $post_data any post data as form name => value |
|
119 | - * @return object An instance of the curl_fetch_web_data class |
|
118 | + * @param string $post_data any post data as form name => value |
|
119 | + * @return curl_fetch_web_data An instance of the curl_fetch_web_data class |
|
120 | 120 | */ |
121 | 121 | public function get_url_data($url, $post_data = array()) |
122 | 122 | { |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | * |
141 | 141 | * @param string $url The site to fetch |
142 | 142 | * @param bool $redirect Whether or not this was a redirect request |
143 | - * @return void|bool Sets various properties of the class or returns false if the URL isn't specified |
|
143 | + * @return false|null Sets various properties of the class or returns false if the URL isn't specified |
|
144 | 144 | */ |
145 | 145 | private function curl_request($url, $redirect = false) |
146 | 146 | { |