X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Flib%2FDrupal%2FComponent%2FDiff%2FDiff.php;fp=web%2Fcore%2Flib%2FDrupal%2FComponent%2FDiff%2FDiff.php;h=8135b1582563d793c8780307a879291901251676;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=d9042bcca715b9838df20e07da27c3e829a12a9f;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/web/core/lib/Drupal/Component/Diff/Diff.php b/web/core/lib/Drupal/Component/Diff/Diff.php index d9042bcca..8135b1582 100644 --- a/web/core/lib/Drupal/Component/Diff/Diff.php +++ b/web/core/lib/Drupal/Component/Diff/Diff.php @@ -27,9 +27,11 @@ class Diff { * Constructor. * Computes diff between sequences of strings. * - * @param $from_lines array An array of strings. - * (Typically these are lines from a file.) - * @param $to_lines array An array of strings. + * @param array $from_lines + * An array of strings. + * (Typically these are lines from a file.) + * @param array $to_lines + * An array of strings. */ public function __construct($from_lines, $to_lines) { $eng = new DiffEngine(); @@ -44,8 +46,8 @@ class Diff { * * $diff = new Diff($lines1, $lines2); * $rev = $diff->reverse(); - * @return object A Diff object representing the inverse of the - * original diff. + * @return object + * A Diff object representing the inverse of the original diff. */ public function reverse() { $rev = $this;