- correction of PHPDoc blocks

- minor code cleanup
This commit is contained in:
Uwe Tews
2017-10-26 10:25:41 +02:00
parent 812758225c
commit dd9c076dfa
76 changed files with 613 additions and 141 deletions
+2 -2
View File
@@ -676,7 +676,7 @@ class Smarty_Security
{
if ($security_class instanceof Smarty_Security) {
$smarty->security_policy = $security_class;
return;
return $smarty;
} elseif (is_object($security_class)) {
throw new SmartyException("Class '" . get_class($security_class) . "' must extend Smarty_Security.");
}
@@ -690,7 +690,7 @@ class Smarty_Security
} else {
$smarty->security_policy = new $security_class($smarty);
}
return;
return $smarty;
}
/**
* Start template processing