diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2020-09-13 21:30:39 +0200 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2020-09-13 21:30:39 +0200 |
commit | 5ee6bbbf3002daf075fa77007daccf4d2af25241 (patch) | |
tree | dd245fc9d77896e2a27a7070f053c7e3971d07f2 /src/ste/ParseCompileError.php | |
parent | 604c3f8123950faddcdb688c4d3a8213fb4a6c1a (diff) | |
download | ste-5ee6bbbf3002daf075fa77007daccf4d2af25241.tar.gz ste-5ee6bbbf3002daf075fa77007daccf4d2af25241.tar.bz2 ste-5ee6bbbf3002daf075fa77007daccf4d2af25241.zip |
Fix some issues reported by PhpStorm
Diffstat (limited to 'src/ste/ParseCompileError.php')
-rw-r--r-- | src/ste/ParseCompileError.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ste/ParseCompileError.php b/src/ste/ParseCompileError.php index 29590da..0d5a240 100644 --- a/src/ste/ParseCompileError.php +++ b/src/ste/ParseCompileError.php @@ -16,7 +16,8 @@ class ParseCompileError extends \Exception $this->msg = $msg; $this->tpl = $tpl; $this->off = $offset; - $this->message = "$msg (Template $tpl, Offset $offset)"; + + parent::__construct("$msg (Template $tpl, Offset $offset)", $code, $previous); } /** |