Coding Standards

A few updates for coding standards
This commit is contained in:
Adam Magness 2017-11-19 14:15:25 -05:00
parent 5888cce08e
commit d9e9cbe753
12 changed files with 357 additions and 249 deletions

View file

@ -134,6 +134,8 @@ class Cache
* @param string $key The key to the cached data
* @param mixed $value The value that is about to be stored
* @param integer $duration The cache lifespan
*
* @return void
*/
public static function set($key, $value, $duration = CACHE_MONTH)
{
@ -159,6 +161,8 @@ class Cache
* @brief Remove outdated data from the cache
*
* @param integer $max_level The maximum cache level that is to be cleared
*
* @return void
*/
public static function clear($max_level = CACHE_MONTH)
{