From e1c050a32c0e48612b0f38fc126865caad40e954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20Kaleta?= Date: Tue, 14 Apr 2020 17:26:20 +0200 Subject: [PATCH] Fix comment - Method can return string (#583) --- libs/Smarty.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {