diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 9e0ca767..44589328 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -800,7 +800,7 @@ class Smarty extends Smarty_Internal_TemplateBase * @param mixed $index index of directory to get, null to get all * @param bool $isConfig true for config_dir * - * @return array list of template directories, or directory of $index + * @return array|string list of template directories, or directory of $index */ public function getTemplateDir($index = null, $isConfig = false) {