Security update for Core, with self-updated composer
[yaffs-website] / web / core / lib / Drupal / Core / Diff / DiffFormatter.php
index a613711f59ede8133da79dbf06d9d9d6c989a5b7..1b3604d589ecb6a105b10f6811d0cd693860d524 100644 (file)
@@ -73,7 +73,7 @@ class DiffFormatter extends DiffFormatterBase {
   /**
    * {@inheritdoc}
    */
-  protected function _lines($lines, $prefix=' ', $color='white') {
+  protected function _lines($lines, $prefix = ' ', $color = 'white') {
   }
 
   /**
@@ -192,7 +192,7 @@ class DiffFormatter extends DiffFormatterBase {
     // Notice that WordLevelDiff returns HTML-escaped output. Hence, we will be
     // calling addedLine/deletedLine without HTML-escaping.
     while ($line = array_shift($del)) {
-      $aline = array_shift( $add );
+      $aline = array_shift($add);
       $this->rows[] = array_merge($this->deletedLine($line), isset($aline) ? $this->addedLine($aline) : $this->emptyLine());
     }