src/sysplugins/* to PSR-4

This commit is contained in:
Simon Wisselink
2022-12-22 21:50:01 +01:00
parent 0fc2b3726b
commit f1e7b2d46f
110 changed files with 1226 additions and 1226 deletions

View File

@@ -21,7 +21,7 @@ class TplFunctionRuntime {
* @param array $params parameter array
* @param bool $nocache true if called nocache
*
* @throws \SmartyException
* @throws \Smarty\Exception
*/
public function callTemplateFunction(Template $tpl, $name, $params, $nocache) {
$funcParam = $tpl->tplFunctions[$name] ?? ($tpl->smarty->tplFunctions[$name] ?? null);
@@ -49,7 +49,7 @@ class TplFunctionRuntime {
return;
}
}
throw new SmartyException("Unable to find template function '{$name}'");
throw new \Smarty\Exception("Unable to find template function '{$name}'");
}
/**