We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd321d8 commit e44acfcCopy full SHA for e44acfc
generated/curl.php
@@ -558,11 +558,11 @@ function curl_getinfo($handle, int $option = null)
558
*
559
* The file protocol is disabled by cURL if
560
* open_basedir is set.
561
- * @return resource Returns a cURL handle on success, FALSE on errors.
+ * @return \CurlHandle Returns a cURL handle on success, FALSE on errors.
562
* @throws CurlException
563
564
*/
565
-function curl_init(string $url = null)
+function curl_init(string $url = null): \CurlHandle
566
{
567
error_clear_last();
568
if ($url !== null) {
0 commit comments