diff --git a/curl/curl.php b/curl/curl.php index 0203f198..55f05c5b 100644 --- a/curl/curl.php +++ b/curl/curl.php @@ -2384,7 +2384,7 @@ function curl_multi_add_handle ($mh, $ch) {} * @link https://php.net/manual/en/function.curl-multi-remove-handle.php * @param resource $mh * @param resource $ch - * @return int Returns 0 on success, or one of the CURLM_XXX error codes. + * @return int|false On success, returns one of the CURLM_XXX error codes, false on failure. * @since 5.0 */ function curl_multi_remove_handle ($mh, $ch) {} diff --git a/enchant/enchant.php b/enchant/enchant.php index c173fcf3..78973c30 100644 --- a/enchant/enchant.php +++ b/enchant/enchant.php @@ -135,7 +135,7 @@ function enchant_broker_set_ordering ($broker, $tag, $ordering) {} * @param resource $broker
* Broker resource *
- * @return array + * @return array|false */ function enchant_broker_describe ($broker) {} @@ -163,7 +163,7 @@ function enchant_dict_check ($dict, $word) {} * @param string $word* Word to use for the suggestions. *
- * @return array Will returns an array of suggestions if the word is bad spelled. + * @return array|false Will returns an array of suggestions if the word is bad spelled. */ function enchant_dict_suggest ($dict, $word) {} diff --git a/geoip/geoip.php b/geoip/geoip.php index add89b32..fa64c3d0 100644 --- a/geoip/geoip.php +++ b/geoip/geoip.php @@ -131,7 +131,7 @@ function geoip_isp_by_name ($hostname) {} * various constants defined with * this extension (ie: GEOIP_*_EDITION). * - * @return bool|false TRUE is database exists, FALSE if not found, or NULL on error. + * @return bool|null TRUE is database exists, FALSE if not found, or NULL on error. */ function geoip_db_avail ($database) {} diff --git a/http/http.php b/http/http.php index c298ac90..ca241f2a 100644 --- a/http/http.php +++ b/http/http.php @@ -2230,7 +2230,7 @@ function http_negotiate_content_type (array $supported, array &$result = null ) * @param int $status [optional]* custom response status code *
- * @return void + * @return void returns false or exits with the specified redirection status code */ function http_redirect ($url = null, array $params = null , $session = null, $status = null) {} diff --git a/interbase/interbase.php b/interbase/interbase.php index 1df9c79d..1d583138 100644 --- a/interbase/interbase.php +++ b/interbase/interbase.php @@ -128,7 +128,7 @@ function ibase_drop_db ($connection = null) {} * * @param int $bind_args [optional]*
- * @return resource|false If the query raises an error, returns false. If it is successful and + * @return resource|bool If the query raises an error, returns false. If it is successful and * there is a (possibly empty) result set (such as with a SELECT query), * returns a result identifier. If the query was successful and there were * no results, returns true. @@ -257,7 +257,7 @@ function ibase_prepare ($query) {} * @param mixed $bind_arg [optional]*
* @param mixed $_ [optional] - * @return resource|false If the query raises an error, returns false. If it is successful and + * @return resource|bool If the query raises an error, returns false. If it is successful and * there is a (possibly empty) result set (such as with a SELECT query), * returns a result identifier. If the query was successful and there were * no results, returns true. diff --git a/mcrypt/mcrypt.php b/mcrypt/mcrypt.php index 1e19f00b..5c9d1e6b 100644 --- a/mcrypt/mcrypt.php +++ b/mcrypt/mcrypt.php @@ -396,7 +396,7 @@ function mcrypt_generic_deinit ($td) {} * @param resource $td* The encryption descriptor. *
- * @return int|false If the self test succeeds it returns false. In case of an error, it + * @return int|bool If the self test succeeds it returns false. In case of an error, it * returns true. * @since 4.0.2 * @since 5.0 diff --git a/mongo/mongo.php b/mongo/mongo.php index 802bfdd4..740eaa14 100644 --- a/mongo/mongo.php +++ b/mongo/mongo.php @@ -1162,7 +1162,7 @@ class MongoCollection { * @link https://secure.php.net/manual/en/mongocollection.ensureindex.php * @param array $keys Field or fields to use as index. * @param array $options [optional] This parameter is an associative array of the form array("optionname" =>