From eab8a101e7a3fcbb41e01a574985e06c5a3775de Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 18 Oct 2018 02:40:38 +0200 Subject: Updating Smarty --- lib/smarty3/sysplugins/smarty_internal_resource_stream.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'lib/smarty3/sysplugins/smarty_internal_resource_stream.php') diff --git a/lib/smarty3/sysplugins/smarty_internal_resource_stream.php b/lib/smarty3/sysplugins/smarty_internal_resource_stream.php index b4248fb..9956bd0 100644 --- a/lib/smarty3/sysplugins/smarty_internal_resource_stream.php +++ b/lib/smarty3/sysplugins/smarty_internal_resource_stream.php @@ -45,7 +45,6 @@ class Smarty_Internal_Resource_Stream extends Smarty_Resource_Recompiled * @param Smarty_Template_Source $source source object * * @return string template source - * @throws SmartyException if source cannot be loaded */ public function getContent(Smarty_Template_Source $source) { @@ -57,7 +56,6 @@ class Smarty_Internal_Resource_Stream extends Smarty_Resource_Recompiled $t .= $current_line; } fclose($fp); - return $t; } else { return false; @@ -67,9 +65,9 @@ class Smarty_Internal_Resource_Stream extends Smarty_Resource_Recompiled /** * modify resource_name according to resource handlers specifications * - * @param Smarty $smarty Smarty instance - * @param string $resource_name resource_name to make unique - * @param boolean $isConfig flag for config resource + * @param Smarty $smarty Smarty instance + * @param string $resource_name resource_name to make unique + * @param boolean $isConfig flag for config resource * * @return string unique resource name */ -- cgit v1.2.3