@@ -81,9 +81,9 @@ public function derive($namespace)
8181
8282 /**
8383 * Reads the specified item from the cache or generate it.
84- * @param mixed key
84+ * @param mixed
8585 * @param callable
86- * @return mixed|NULL
86+ * @return mixed
8787 */
8888 public function load ($ key , $ fallback = NULL )
8989 {
@@ -157,9 +157,8 @@ public function bulkLoad(array $keys, $fallback = NULL)
157157 * - Cache::ITEMS => (array|string) cache items
158158 * - Cache::CONSTS => (array|string) cache items
159159 *
160- * @param mixed key
161- * @param mixed value
162- * @param array dependencies
160+ * @param mixed
161+ * @param mixed
163162 * @return mixed value itself
164163 * @throws Nette\InvalidArgumentException
165164 */
@@ -239,7 +238,7 @@ private function completeDependencies($dp)
239238
240239 /**
241240 * Removes item from the cache.
242- * @param mixed key
241+ * @param mixed
243242 * @return void
244243 */
245244 public function remove ($ key )
@@ -286,7 +285,6 @@ public function call($function)
286285 /**
287286 * Caches results of function/method calls.
288287 * @param mixed
289- * @param array dependencies
290288 * @return \Closure
291289 */
292290 public function wrap ($ function , array $ dependencies = NULL )
@@ -307,7 +305,7 @@ public function wrap($function, array $dependencies = NULL)
307305
308306 /**
309307 * Starts the output cache.
310- * @param mixed key
308+ * @param mixed
311309 * @return OutputHelper|NULL
312310 */
313311 public function start ($ key )
@@ -322,8 +320,7 @@ public function start($key)
322320
323321 /**
324322 * Generates internal cache key.
325- *
326- * @param string
323+ * @param mixed
327324 * @return string
328325 */
329326 protected function generateKey ($ key )
@@ -366,7 +363,7 @@ private static function checkConst($const, $value)
366363 /**
367364 * Checks FILES dependency.
368365 * @param string
369- * @param int
366+ * @param int|NULL
370367 * @return bool
371368 */
372369 private static function checkFile ($ file , $ time )
0 commit comments