Skip to content

Commit

Permalink
better formatting for api generation
Browse files Browse the repository at this point in the history
  • Loading branch information
antograssiot committed Aug 10, 2015
1 parent f66edff commit 5def360
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/Cache/Cache.php
Expand Up @@ -548,11 +548,15 @@ public static function remember($key, $callable, $config = 'default')
*
* Writing to the active cache config:
*
* `Cache::add('cached_data', $data);`
* ```
* Cache::add('cached_data', $data);
* ````
*
* Writing to a specific cache config:
*
* `Cache::add('cached_data', $data, 'long_term');`
* ```
* Cache::add('cached_data', $data, 'long_term');
* ```
*
* @param string $key Identifier for the data.
* @param mixed $value Data to be cached - anything except a resource.
Expand Down
2 changes: 1 addition & 1 deletion src/Cache/Engine/ApcEngine.php
Expand Up @@ -161,7 +161,7 @@ public function clear($check)
}

/**
* Write data for key into cache if it doesn't exist already.
* Write data for key into cache if it doesn't exist already.
* If it already exists, it fails and returns false.
*
* @param string $key Identifier for the data.
Expand Down

0 comments on commit 5def360

Please sign in to comment.