Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Component / Diff / Engine / DiffOpDelete.php
1 <?php
2
3 namespace Drupal\Component\Diff\Engine;
4
5 /**
6  * @todo document
7  * @private
8  * @subpackage DifferenceEngine
9  */
10 class DiffOpDelete extends DiffOp {
11   public $type = 'delete';
12
13   public function __construct($lines) {
14     $this->orig = $lines;
15     $this->closing = FALSE;
16   }
17
18   public function reverse() {
19     return new DiffOpAdd($this->orig);
20   }
21
22 }