12345678910111213141516171819202122232425262728293031 |
- <?php declare(strict_types=1);
- namespace PhpParser\Internal;
- class DiffElem {
- public const TYPE_KEEP = 0;
- public const TYPE_REMOVE = 1;
- public const TYPE_ADD = 2;
- public const TYPE_REPLACE = 3;
-
- public int $type;
-
- public $old;
-
- public $new;
-
- public function __construct(int $type, $old, $new) {
- $this->type = $type;
- $this->old = $old;
- $this->new = $new;
- }
- }
|