summaryrefslogtreecommitdiff
path: root/src/ste/TagNode.php
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-04-30 09:38:05 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-04-30 09:38:25 +0200
commit2381c52c690342f773a7cfa500387b6bfad76952 (patch)
tree340296ea529e40b81012c936703429a86481788e /src/ste/TagNode.php
parent2d26169b367af60cbc03d417c09918f50aa3b882 (diff)
downloadste-2381c52c690342f773a7cfa500387b6bfad76952.tar.gz
ste-2381c52c690342f773a7cfa500387b6bfad76952.tar.bz2
ste-2381c52c690342f773a7cfa500387b6bfad76952.zip
Automatic code formatting
Also add git hooks that checks formatting
Diffstat (limited to 'src/ste/TagNode.php')
-rw-r--r--src/ste/TagNode.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ste/TagNode.php b/src/ste/TagNode.php
index 8915c59..c1a14e5 100644
--- a/src/ste/TagNode.php
+++ b/src/ste/TagNode.php
@@ -2,11 +2,13 @@
namespace kch42\ste;
-class TagNode extends ASTNode {
+class TagNode extends ASTNode
+{
public $name;
public $params = array();
public $sub = array();
- public function __construct($tpl, $off, $name = "") {
+ public function __construct($tpl, $off, $name = "")
+ {
parent::__construct($tpl, $off);
$this->name = $name;
}