summaryrefslogtreecommitdiff
path: root/lib/smarty3/sysplugins/smarty_internal_resource_stream.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/smarty3/sysplugins/smarty_internal_resource_stream.php')
-rw-r--r--lib/smarty3/sysplugins/smarty_internal_resource_stream.php8
1 files changed, 3 insertions, 5 deletions
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
*/