This commit is contained in:
Fabien Potencier
2023-10-20 17:39:50 +02:00
parent fec3a7fd22
commit eaf22ba98d
+1
View File
@@ -188,6 +188,7 @@ final class EscaperNodeVisitor implements NodeVisitorInterface
if (\count($this->statusStack)) {
return $this->statusStack[\count($this->statusStack) - 1];
}
return $this->defaultStrategy ? $this->defaultStrategy : false;
}