mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/16955] Correct docblocks in diff engine
PHPBB3-16955
This commit is contained in:
parent
160510dab3
commit
ea07e4946f
1 changed files with 5 additions and 5 deletions
|
@ -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|string &$from_content An array of strings. Typically these are lines from a file.
|
||||
* @param array|string &$to_content An array of strings.
|
||||
* @param bool $preserve_cr If true, \r is replaced by a new line in the diff output
|
||||
*/
|
||||
function __construct(&$from_content, &$to_content, $preserve_cr = true)
|
||||
|
@ -498,9 +498,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|string &$orig The original lines to use.
|
||||
* @param array|string &$final1 The first version to compare to.
|
||||
* @param array|string &$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
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue