summaryrefslogtreecommitdiff
path: root/src/ste/TextNode.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/ste/TextNode.php')
-rw-r--r--src/ste/TextNode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ste/TextNode.php b/src/ste/TextNode.php
index 199c203..c46d71f 100644
--- a/src/ste/TextNode.php
+++ b/src/ste/TextNode.php
@@ -12,7 +12,7 @@ class TextNode extends ASTNode
* @param int $off
* @param string $text
*/
- public function __construct($tpl, $off, $text = "")
+ public function __construct(string $tpl, int $off, string $text = "")
{
parent::__construct($tpl, $off);
$this->text = $text;