summaryrefslogtreecommitdiff
path: root/lib/smarty3/sysplugins/smarty_internal_method_clearallcache.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-10-18 02:40:38 +0200
committeremkael <emkael@tlen.pl>2018-10-18 02:40:38 +0200
commiteab8a101e7a3fcbb41e01a574985e06c5a3775de (patch)
tree60f201da5984b0c3638d10da02bba42b61aa3177 /lib/smarty3/sysplugins/smarty_internal_method_clearallcache.php
parent7f38be342c1495aeca418286c15c25c18ac9e142 (diff)
Updating Smarty
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
+}