1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[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
*/