From 1900ce24a3b96026a8ab185ba2bd45ab72e60743 Mon Sep 17 00:00:00 2001 From: simivar Date: Thu, 29 Dec 2016 14:52:35 +0100 Subject: [PATCH] Fix annotation for addPluginsDir() Param of [addPluginsDir()](http://www.smarty.net/docs/en/api.add.plugins.dir.tpl) can be null, array or a string. Fixed annotation so there will be no IDE warnings. --- 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 57eedfb9..a4a458fb 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -948,7 +948,7 @@ class Smarty extends Smarty_Internal_TemplateBase /** * Adds directory of plugin files * - * @param null|array $plugins_dir + * @param null|array|string $plugins_dir * * @return Smarty current Smarty instance for chaining */