summaryrefslogtreecommitdiff
path: root/lib/smarty3/sysplugins/smartyexception.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/smarty3/sysplugins/smartyexception.php')
-rw-r--r--lib/smarty3/sysplugins/smartyexception.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/smarty3/sysplugins/smartyexception.php b/lib/smarty3/sysplugins/smartyexception.php
index 431d8f8..7f7b9aa 100644
--- a/lib/smarty3/sysplugins/smartyexception.php
+++ b/lib/smarty3/sysplugins/smartyexception.php
@@ -9,6 +9,9 @@ class SmartyException extends Exception
{
public static $escape = false;
+ /**
+ * @return string
+ */
public function __toString()
{
return ' --> Smarty: ' . (self::$escape ? htmlentities($this->message) : $this->message) . ' <-- ';