From b04486a091558a2b1280e3ee7fb90758e9a32230 Mon Sep 17 00:00:00 2001 From: uwetews Date: Tue, 9 Feb 2016 01:27:15 +0100 Subject: - reformat all code for unique style --- libs/sysplugins/smarty_internal_method_unregisterplugin.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libs/sysplugins/smarty_internal_method_unregisterplugin.php') diff --git a/libs/sysplugins/smarty_internal_method_unregisterplugin.php b/libs/sysplugins/smarty_internal_method_unregisterplugin.php index 06cb2d35..3fd8b147 100644 --- a/libs/sysplugins/smarty_internal_method_unregisterplugin.php +++ b/libs/sysplugins/smarty_internal_method_unregisterplugin.php @@ -25,16 +25,16 @@ class Smarty_Internal_Method_UnregisterPlugin * @link http://www.smarty.net/docs/en/api.unregister.plugin.tpl * * @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj - * @param string $type plugin type - * @param string $name name of template tag + * @param string $type plugin type + * @param string $name name of template tag * * @return \Smarty|\Smarty_Internal_Template - */ + */ public function unregisterPlugin(Smarty_Internal_TemplateBase $obj, $type, $name) { $smarty = isset($obj->smarty) ? $obj->smarty : $obj; - if (isset($smarty->registered_plugins[$type][$name])) { - unset($smarty->registered_plugins[$type][$name]); + if (isset($smarty->registered_plugins[ $type ][ $name ])) { + unset($smarty->registered_plugins[ $type ][ $name ]); } return $obj; } -- cgit v1.3