diff --git a/typo3/sysext/core/Classes/TypoScript/IncludeTree/Visitor/IncludeTreeAstBuilderVisitor.php b/typo3/sysext/core/Classes/TypoScript/IncludeTree/Visitor/IncludeTreeAstBuilderVisitor.php
index 77534036246132b5730dfe4da1dff39d390403d3..b823fe1b530fc260b25910f721ae820dba8834fe 100644
--- a/typo3/sysext/core/Classes/TypoScript/IncludeTree/Visitor/IncludeTreeAstBuilderVisitor.php
+++ b/typo3/sysext/core/Classes/TypoScript/IncludeTree/Visitor/IncludeTreeAstBuilderVisitor.php
@@ -82,11 +82,11 @@ final class IncludeTreeAstBuilderVisitor implements IncludeTreeVisitorInterface
      */
     public function visit(IncludeInterface $include, int $currentDepth): void
     {
-        $tokenStream = $include->getLineStream();
-        if ($tokenStream && !$include->isSplit()) {
+        $lineStream = $include->getLineStream();
+        if ($lineStream && !$include->isSplit()) {
             // A "split" include means that the entire TypoScript is split into child includes. The
             // TokenStream of the split include itself must not be parsed, so it's excluded here.
-            $this->ast = $this->astBuilder->build($tokenStream, $this->ast, $this->flatConstants);
+            $this->ast = $this->astBuilder->build($lineStream, $this->ast, $this->flatConstants);
         }
     }
 }