@@ -18,10 +18,10 @@ public function __construct(CacheRepository $repository)
1818 * Look for a value in the cache. If it exists, return the data
1919 * if not, return FALSE
2020 *
21- * @param string $key Key name
22- * @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
23- * local or global scoping of the cache item
24- * @return mixed value matching $key or FALSE on failure
21+ * @param string $key Key name
22+ * @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
23+ * local or global scoping of the cache item
24+ * @return mixed value matching $key or FALSE on failure
2525 */
2626 public function get ($ key , $ scope = Cache::LOCAL_SCOPE )
2727 {
@@ -39,12 +39,12 @@ public function get($key, $scope = Cache::LOCAL_SCOPE)
3939 /**
4040 * Save value to cache
4141 *
42- * @param string $key Key name
43- * @param mixed $data Data to store
44- * @param int $ttl = 60 Cache TTL (in seconds)
45- * @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
46- * local or global scoping of the cache item
47- * @return bool TRUE on success, FALSE on failure
42+ * @param string $key Key name
43+ * @param mixed $data Data to store
44+ * @param int $ttl = 60 Cache TTL (in seconds)
45+ * @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
46+ * local or global scoping of the cache item
47+ * @return bool TRUE on success, FALSE on failure
4848 */
4949 public function save ($ key , $ data , $ ttl = 60 , $ scope = Cache::LOCAL_SCOPE )
5050 {
@@ -67,10 +67,10 @@ public function save($key, $data, $ttl = 60, $scope = Cache::LOCAL_SCOPE)
6767 *
6868 * ee()->cache->delete('/namespace_name/');
6969 *
70- * @param string $key Key name
71- * @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
72- * local or global scoping of the cache item
73- * @return bool TRUE on success, FALSE on failure
70+ * @param string $key Key name
71+ * @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
72+ * local or global scoping of the cache item
73+ * @return bool TRUE on success, FALSE on failure
7474 */
7575 public function delete ($ key , $ scope = Cache::LOCAL_SCOPE )
7676 {
@@ -84,9 +84,9 @@ public function delete($key, $scope = Cache::LOCAL_SCOPE)
8484 /**
8585 * Clean the cache
8686 *
87- * @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
88- * local or global scoping of the cache item
89- * @return bool TRUE on success, FALSE on failure
87+ * @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
88+ * local or global scoping of the cache item
89+ * @return bool TRUE on success, FALSE on failure
9090 */
9191 public function clean ($ scope = Cache::LOCAL_SCOPE )
9292 {
@@ -100,7 +100,7 @@ public function clean($scope = Cache::LOCAL_SCOPE)
100100 /**
101101 * Cache Info
102102 *
103- * @return mixed array containing cache info on success OR FALSE on failure
103+ * @return mixed array containing cache info on success OR FALSE on failure
104104 */
105105 public function cache_info ()
106106 {
@@ -110,10 +110,10 @@ public function cache_info()
110110 /**
111111 * Get Cache Metadata
112112 *
113- * @param string $key Key to get cache metadata on
114- * @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
115- * local or global scoping of the cache item
116- * @return mixed cache item metadata
113+ * @param string $key Key to get cache metadata on
114+ * @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
115+ * local or global scoping of the cache item
116+ * @return mixed cache item metadata
117117 */
118118 public function get_metadata ($ key , $ scope = Cache::LOCAL_SCOPE )
119119 {
@@ -173,10 +173,10 @@ protected function unwrapData($data)
173173 *
174174 * For the file driver, namespaces will be actual folders
175175 *
176- * @param string $key Key name
177- * @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE
178- * for local or global scoping of the cache item
179- * @return string Key prefixed with namespace
176+ * @param string $key Key name
177+ * @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE
178+ * for local or global scoping of the cache item
179+ * @return string Key prefixed with namespace
180180 */
181181 protected function _namespaced_key ($ key , $ scope = Cache::LOCAL_SCOPE )
182182 {
0 commit comments