Fix comment - Method can return string (#583)

This commit is contained in:
Sławomir Kaleta
2020-04-14 17:26:20 +02:00
committed by GitHub
parent fd148f7ade
commit e1c050a32c

View File

@@ -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)
{