aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/smarty/smarty/libs/sysplugins/smarty_template_source.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/smarty/smarty/libs/sysplugins/smarty_template_source.php')
-rw-r--r--vendor/smarty/smarty/libs/sysplugins/smarty_template_source.php17
1 files changed, 9 insertions, 8 deletions
diff --git a/vendor/smarty/smarty/libs/sysplugins/smarty_template_source.php b/vendor/smarty/smarty/libs/sysplugins/smarty_template_source.php
index 4868706c8..16b47f23c 100644
--- a/vendor/smarty/smarty/libs/sysplugins/smarty_template_source.php
+++ b/vendor/smarty/smarty/libs/sysplugins/smarty_template_source.php
@@ -7,7 +7,6 @@
* @package Smarty
* @subpackage TemplateResources
* @author Rodney Rehm
- *
*/
class Smarty_Template_Source
{
@@ -131,7 +130,7 @@ class Smarty_Template_Source
* @param string $type type of resource
* @param string $name resource name
*
- * @throws \SmartyException
+ * @throws \SmartyException
* @internal param \Smarty_Resource $handler Resource Handler this source object communicates with
*/
public function __construct(Smarty $smarty, $resource, $type, $name)
@@ -149,16 +148,18 @@ class Smarty_Template_Source
* initialize Source Object for given resource
* Either [$_template] or [$smarty, $template_resource] must be specified
*
- * @param Smarty_Internal_Template $_template template object
- * @param Smarty $smarty smarty object
- * @param string $template_resource resource identifier
+ * @param Smarty_Internal_Template $_template template object
+ * @param Smarty $smarty smarty object
+ * @param string $template_resource resource identifier
*
* @return Smarty_Template_Source Source Object
* @throws SmartyException
*/
- public static function load(Smarty_Internal_Template $_template = null, Smarty $smarty = null,
- $template_resource = null)
- {
+ public static function load(
+ Smarty_Internal_Template $_template = null,
+ Smarty $smarty = null,
+ $template_resource = null
+ ) {
if ($_template) {
$smarty = $_template->smarty;
$template_resource = $_template->template_resource;