Skip to content

Commit 17c6389

Browse files
committed
fix protos
1 parent 0841eca commit 17c6389

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ext/curl/curl_file.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ static void curlfile_ctor(INTERNAL_FUNCTION_PARAMETERS)
5252
}
5353
}
5454

55-
/* {{{ proto string CURLFile::__construct(string $name, [string $mimetype [, string $postfilename]])
55+
/* {{{ proto void CURLFile::__construct(string $name, [string $mimetype [, string $postfilename]])
5656
Create the CURLFile object */
5757
ZEND_METHOD(CURLFile, __construct)
5858
{
@@ -61,7 +61,7 @@ ZEND_METHOD(CURLFile, __construct)
6161
}
6262
/* }}} */
6363

64-
/* {{{ proto string curl_file_create(string $name, [string $mimetype [, string $postfilename]])
64+
/* {{{ proto CURLFile curl_file_create(string $name, [string $mimetype [, string $postfilename]])
6565
Create the CURLFile object */
6666
PHP_FUNCTION(curl_file_create)
6767
{
@@ -117,23 +117,23 @@ ZEND_METHOD(CURLFile, getPostFilename)
117117
}
118118
/* }}} */
119119

120-
/* {{{ proto string CURLFile::setMimeType(string $mime)
120+
/* {{{ proto void CURLFile::setMimeType(string $mime)
121121
Set MIME type */
122122
ZEND_METHOD(CURLFile, setMimeType)
123123
{
124124
curlfile_set_property("mime", INTERNAL_FUNCTION_PARAM_PASSTHRU);
125125
}
126126
/* }}} */
127127

128-
/* {{{ proto string CURLFile::setPostFilename(string $name)
128+
/* {{{ proto void CURLFile::setPostFilename(string $name)
129129
Set file name for POST */
130130
ZEND_METHOD(CURLFile, setPostFilename)
131131
{
132132
curlfile_set_property("postname", INTERNAL_FUNCTION_PARAM_PASSTHRU);
133133
}
134134
/* }}} */
135135

136-
/* {{{ proto string CURLFile::__wakeup()
136+
/* {{{ proto void CURLFile::__wakeup()
137137
Unserialization handler */
138138
ZEND_METHOD(CURLFile, __wakeup)
139139
{

0 commit comments

Comments
 (0)