summaryrefslogtreecommitdiff
path: root/src/ste/TagNode.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/ste/TagNode.php')
-rw-r--r--src/ste/TagNode.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ste/TagNode.php b/src/ste/TagNode.php
index 4adcad8..ce713c0 100644
--- a/src/ste/TagNode.php
+++ b/src/ste/TagNode.php
@@ -17,10 +17,14 @@ class TagNode extends ASTNode
* @param string $tpl
* @param int $off
* @param string $name
+ * @param ASTNode[][] $params
+ * @param ASTNode[] $sub
*/
- public function __construct(string $tpl, int $off, string $name = "")
+ public function __construct(string $tpl, int $off, string $name = "", array $params = [], array $sub = [])
{
parent::__construct($tpl, $off);
$this->name = $name;
+ $this->params = $params;
+ $this->sub = $sub;
}
}