diff options
author | n-aleha <nick_aleha@myway.com> | 2014-08-07 11:39:04 +0300 |
---|---|---|
committer | n-aleha <nick_aleha@myway.com> | 2014-08-07 11:39:04 +0300 |
commit | 9d285bdcf51f6e7b7a53e68eb377d4c70c184844 (patch) | |
tree | 4f7d4c04ad1bd0660b3be207825a44fb57fa942e /phpBB/includes/diff | |
parent | e6d69777502a10c57600c2230e8a8eba05d4cc25 (diff) | |
download | forums-9d285bdcf51f6e7b7a53e68eb377d4c70c184844.tar forums-9d285bdcf51f6e7b7a53e68eb377d4c70c184844.tar.gz forums-9d285bdcf51f6e7b7a53e68eb377d4c70c184844.tar.bz2 forums-9d285bdcf51f6e7b7a53e68eb377d4c70c184844.tar.xz forums-9d285bdcf51f6e7b7a53e68eb377d4c70c184844.zip |
[ticket/12557] Fix pass by reference doc blocks
PHPBB3-12557
Diffstat (limited to 'phpBB/includes/diff')
-rw-r--r-- | phpBB/includes/diff/diff.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/includes/diff/diff.php b/phpBB/includes/diff/diff.php index e16a549ef7..d307880c4b 100644 --- a/phpBB/includes/diff/diff.php +++ b/phpBB/includes/diff/diff.php @@ -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 */ |