aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/smarty/smarty/libs/sysplugins/smartycompilerexception.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/smarty/smarty/libs/sysplugins/smartycompilerexception.php')
-rw-r--r--vendor/smarty/smarty/libs/sysplugins/smartycompilerexception.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/vendor/smarty/smarty/libs/sysplugins/smartycompilerexception.php b/vendor/smarty/smarty/libs/sysplugins/smartycompilerexception.php
index f7ad39b93..8833aa52c 100644
--- a/vendor/smarty/smarty/libs/sysplugins/smartycompilerexception.php
+++ b/vendor/smarty/smarty/libs/sysplugins/smartycompilerexception.php
@@ -16,12 +16,12 @@ class SmartyCompilerException extends SmartyException
}
/**
- * The line number of the template error
- *
- * @type int|null
+ * @param int $line
*/
- public $line = null;
-
+ public function setLine($line)
+ {
+ $this->line = $line;
+ }
/**
* The template source snippet relating to the error
*