diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2020-04-30 09:38:05 +0200 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2020-04-30 09:38:25 +0200 |
commit | 2381c52c690342f773a7cfa500387b6bfad76952 (patch) | |
tree | 340296ea529e40b81012c936703429a86481788e /src/ste/TextNode.php | |
parent | 2d26169b367af60cbc03d417c09918f50aa3b882 (diff) | |
download | ste-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/TextNode.php')
-rw-r--r-- | src/ste/TextNode.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ste/TextNode.php b/src/ste/TextNode.php index e6c7876..c68dd2f 100644 --- a/src/ste/TextNode.php +++ b/src/ste/TextNode.php @@ -2,10 +2,12 @@ namespace kch42\ste; -class TextNode extends ASTNode { +class TextNode extends ASTNode +{ public $text; - public function __construct($tpl, $off, $text = "") { + public function __construct($tpl, $off, $text = "") + { parent::__construct($tpl, $off); $this->text = $text; } -}
\ No newline at end of file +} |