[ticket/12557] Fix pass by reference doc blocks

PHPBB3-12557
This commit is contained in:
n-aleha 2014-08-07 11:39:04 +03:00
parent e6d6977750
commit 9d285bdcf5
2 changed files with 9 additions and 9 deletions

View file

@ -46,8 +46,8 @@ class diff
/**
* Computes diffs between sequences of strings.
*
* @param array $from_content An array of strings. Typically these are lines from a file.
* @param array $to_content An array of strings.
* @param array &$from_content An array of strings. Typically these are lines from a file.
* @param array &$to_content An array of strings.
* @param bool $preserve_cr If true, \r is replaced by a new line in the diff output
*/
function diff(&$from_content, &$to_content, $preserve_cr = true)
@ -492,9 +492,9 @@ class diff3 extends diff
/**
* Computes diff between 3 sequences of strings.
*
* @param array $orig The original lines to use.
* @param array $final1 The first version to compare to.
* @param array $final2 The second version to compare to.
* @param array &$orig The original lines to use.
* @param array &$final1 The first version to compare to.
* @param array &$final2 The second version to compare to.
* @param bool $preserve_cr If true, \r\n and bare \r are replaced by a new line
* in the diff output
*/

View file

@ -86,9 +86,9 @@ class base
* Retrieves cached search results
*
* @param string $search_key an md5 string generated from all the passed search options to identify the results
* @param int $result_count will contain the number of all results for the search (not only for the current page)
* @param array $id_ary is filled with the ids belonging to the requested page that are stored in the cache
* @param int $start indicates the first index of the page
* @param int &$result_count will contain the number of all results for the search (not only for the current page)
* @param array &$id_ary is filled with the ids belonging to the requested page that are stored in the cache
* @param int &$start indicates the first index of the page
* @param int $per_page number of ids each page is supposed to contain
* @param string $sort_dir is either a or d representing ASC and DESC
*
@ -168,7 +168,7 @@ class base
* @param string $keywords contains the keywords as entered by the user
* @param array $author_ary an array of author ids, if the author should be ignored during the search the array is empty
* @param int $result_count contains the number of all results for the search (not only for the current page)
* @param array $id_ary contains a list of post or topic ids that shall be cached, the first element
* @param array &$id_ary contains a list of post or topic ids that shall be cached, the first element
* must have the absolute index $start in the result set.
* @param int $start indicates the first index of the page
* @param string $sort_dir is either a or d representing ASC and DESC