Skip to content

Commit b607030

Browse files
committed
proto fixes
1 parent 03a135a commit b607030

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/crack/crack.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ ZEND_MODULE_INFO_D(crack)
140140
DISPLAY_INI_ENTRIES();
141141
}
142142

143-
/* {{{ proto string crack_opendict(string dictionary)
143+
/* {{{ proto resource crack_opendict(string dictionary)
144144
Opens a new cracklib dictionary */
145145
ZEND_FUNCTION(crack_opendict)
146146
{
@@ -161,7 +161,7 @@ ZEND_FUNCTION(crack_opendict)
161161
}
162162
/* }}} */
163163

164-
/* {{{ proto string crack_closedict([int link_identifier])
164+
/* {{{ proto bool crack_closedict([resource dictionary])
165165
Closes an open cracklib dictionary */
166166
ZEND_FUNCTION(crack_closedict)
167167
{
@@ -194,7 +194,7 @@ ZEND_FUNCTION(crack_closedict)
194194
}
195195
/* }}} */
196196

197-
/* {{{ proto string crack_check([int dictionary,] string password)
197+
/* {{{ proto bool crack_check([resource dictionary,] string password)
198198
Performs an obscure check with the given password */
199199
ZEND_FUNCTION(crack_check)
200200
{

0 commit comments

Comments
 (0)