Security update for Core, with self-updated composer
[yaffs-website] / web / core / lib / Drupal / Component / Diff / Diff.php
index d9042bcca715b9838df20e07da27c3e829a12a9f..8135b1582563d793c8780307a879291901251676 100644 (file)
@@ -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;