mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-05 04:04:10 +02:00
- correction of PHPDoc blocks
- minor code cleanup
This commit is contained in:
@@ -133,6 +133,7 @@ abstract class Smarty_Resource
|
||||
* @param string $template_resource template_resource to extract resource handler and name of
|
||||
*
|
||||
* @return string unique resource name
|
||||
* @throws \SmartyException
|
||||
*/
|
||||
public static function getUniqueTemplateName($obj, $template_resource)
|
||||
{
|
||||
@@ -159,7 +160,8 @@ abstract class Smarty_Resource
|
||||
* @param Smarty $smarty smarty object
|
||||
* @param string $template_resource resource identifier
|
||||
*
|
||||
* @return Smarty_Template_Source Source Object
|
||||
* @return \Smarty_Template_Source Source Object
|
||||
* @throws \SmartyException
|
||||
*/
|
||||
public static function source(Smarty_Internal_Template $_template = null,
|
||||
Smarty $smarty = null,
|
||||
@@ -239,6 +241,9 @@ abstract class Smarty_Resource
|
||||
return basename(preg_replace('![^\w]+!', '_', $source->name));
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function checkTimestamps()
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user