@@ -81,9 +81,9 @@ public function derive($namespace)
81
81
82
82
/**
83
83
* Reads the specified item from the cache or generate it.
84
- * @param mixed key
84
+ * @param mixed
85
85
* @param callable
86
- * @return mixed|NULL
86
+ * @return mixed
87
87
*/
88
88
public function load ($ key , $ fallback = NULL )
89
89
{
@@ -157,9 +157,8 @@ public function bulkLoad(array $keys, $fallback = NULL)
157
157
* - Cache::ITEMS => (array|string) cache items
158
158
* - Cache::CONSTS => (array|string) cache items
159
159
*
160
- * @param mixed key
161
- * @param mixed value
162
- * @param array dependencies
160
+ * @param mixed
161
+ * @param mixed
163
162
* @return mixed value itself
164
163
* @throws Nette\InvalidArgumentException
165
164
*/
@@ -239,7 +238,7 @@ private function completeDependencies($dp)
239
238
240
239
/**
241
240
* Removes item from the cache.
242
- * @param mixed key
241
+ * @param mixed
243
242
* @return void
244
243
*/
245
244
public function remove ($ key )
@@ -286,7 +285,6 @@ public function call($function)
286
285
/**
287
286
* Caches results of function/method calls.
288
287
* @param mixed
289
- * @param array dependencies
290
288
* @return \Closure
291
289
*/
292
290
public function wrap ($ function , array $ dependencies = NULL )
@@ -307,7 +305,7 @@ public function wrap($function, array $dependencies = NULL)
307
305
308
306
/**
309
307
* Starts the output cache.
310
- * @param mixed key
308
+ * @param mixed
311
309
* @return OutputHelper|NULL
312
310
*/
313
311
public function start ($ key )
@@ -322,8 +320,7 @@ public function start($key)
322
320
323
321
/**
324
322
* Generates internal cache key.
325
- *
326
- * @param string
323
+ * @param mixed
327
324
* @return string
328
325
*/
329
326
protected function generateKey ($ key )
@@ -366,7 +363,7 @@ private static function checkConst($const, $value)
366
363
/**
367
364
* Checks FILES dependency.
368
365
* @param string
369
- * @param int
366
+ * @param int|NULL
370
367
* @return bool
371
368
*/
372
369
private static function checkFile ($ file , $ time )
0 commit comments