Browse Source

chore: Token - remove 'changed' property (#8273)

Dariusz Rumiński 4 months ago
parent
commit
a8d1420907
1 changed files with 1 additions and 6 deletions
  1. 1 6
      src/Tokenizer/Token.php

+ 1 - 6
src/Tokenizer/Token.php

@@ -39,11 +39,6 @@ final class Token
      */
     private bool $isArray;
 
-    /**
-     * Flag is token was changed.
-     */
-    private bool $changed = false;
-
     /**
      * @param array{int, string}|string $token token prototype
      */
@@ -498,7 +493,7 @@ final class Token
             'name' => $this->getName(),
             'content' => $this->content,
             'isArray' => $this->isArray,
-            'changed' => $this->changed,
+            'changed' => false, // @TODO v4: remove index
         ];
     }