summaryrefslogtreecommitdiff
path: root/lib/smarty3/sysplugins/smarty_internal_method_clearallcache.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/smarty3/sysplugins/smarty_internal_method_clearallcache.php')
-rw-r--r--lib/smarty3/sysplugins/smarty_internal_method_clearallcache.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/smarty3/sysplugins/smarty_internal_method_clearallcache.php b/lib/smarty3/sysplugins/smarty_internal_method_clearallcache.php
index 5879f9a..30d55f7 100644
--- a/lib/smarty3/sysplugins/smarty_internal_method_clearallcache.php
+++ b/lib/smarty3/sysplugins/smarty_internal_method_clearallcache.php
@@ -24,11 +24,12 @@ class Smarty_Internal_Method_ClearAllCache
* @api Smarty::clearAllCache()
* @link http://www.smarty.net/docs/en/api.clear.all.cache.tpl
*
- * @param \Smarty $smarty
- * @param integer $exp_time expiration time
- * @param string $type resource type
+ * @param \Smarty $smarty
+ * @param integer $exp_time expiration time
+ * @param string $type resource type
*
- * @return integer number of cache files deleted
+ * @return int number of cache files deleted
+ * @throws \SmartyException
*/
public function clearAllCache(Smarty $smarty, $exp_time = null, $type = null)
{
@@ -37,4 +38,4 @@ class Smarty_Internal_Method_ClearAllCache
$_cache_resource = Smarty_CacheResource::load($smarty, $type);
return $_cache_resource->clearAll($smarty, $exp_time);
}
-} \ No newline at end of file
+}