Skip to content

Commit 3753c8f

Browse files
committed
phpdoc updated
1 parent 8c2e9b7 commit 3753c8f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

php_bencode_doc.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,15 @@ function encode()
201201
{
202202
}
203203

204+
/**
205+
* @param string|int $needle
206+
* @param int $mode 0: search keys; 1: search values
207+
* @return string[] paths of the matching entries
208+
*/
209+
function search($needle, $mode)
210+
{
211+
}
212+
204213
/**
205214
* @return array Return the array without meta
206215
*
@@ -380,6 +389,16 @@ function encode()
380389
{
381390
}
382391

392+
/**
393+
* @param string|int $needle
394+
* @param int $mode
395+
* @return string[]
396+
* @see bdict::search()
397+
*/
398+
function search($needle, $mode)
399+
{
400+
}
401+
383402
/**
384403
* @return array Return the array without meta
385404
* @see bdict::to_array()

0 commit comments

Comments
 (0)