@@ -69,7 +69,7 @@ public function getNamespace()
6969
7070 /**
7171 * Returns new nested cache object.
72- * @param string
72+ * @param string $namespace
7373 * @return static
7474 */
7575 public function derive ($ namespace )
@@ -81,7 +81,7 @@ public function derive($namespace)
8181
8282 /**
8383 * Reads the specified item from the cache or generate it.
84- * @param mixed
84+ * @param mixed $key
8585 * @return mixed
8686 */
8787 public function load ($ key , callable $ fallback = null )
@@ -98,7 +98,6 @@ public function load($key, callable $fallback = null)
9898
9999 /**
100100 * Reads multiple items from the cache.
101- * @param array
102101 * @return array
103102 */
104103 public function bulkLoad (array $ keys , callable $ fallback = null )
@@ -155,10 +154,9 @@ public function bulkLoad(array $keys, callable $fallback = null)
155154 * - Cache::ITEMS => (array|string) cache items
156155 * - Cache::CONSTS => (array|string) cache items
157156 *
158- * @param mixed
159- * @param mixed
157+ * @param mixed $key
158+ * @param mixed $data
160159 * @return mixed value itself
161- * @throws Nette\InvalidArgumentException
162160 */
163161 public function save ($ key , $ data , array $ dependencies = null )
164162 {
@@ -241,7 +239,7 @@ private function completeDependencies($dp)
241239
242240 /**
243241 * Removes item from the cache.
244- * @param mixed
242+ * @param mixed $key
245243 * @return void
246244 */
247245 public function remove ($ key )
@@ -306,7 +304,7 @@ public function wrap(callable $function, array $dependencies = null)
306304
307305 /**
308306 * Starts the output cache.
309- * @param mixed
307+ * @param mixed $key
310308 * @return OutputHelper|null
311309 */
312310 public function start ($ key )
@@ -321,7 +319,7 @@ public function start($key)
321319
322320 /**
323321 * Generates internal cache key.
324- * @param mixed
322+ * @param mixed $key
325323 * @return string
326324 */
327325 protected function generateKey ($ key )
@@ -335,10 +333,9 @@ protected function generateKey($key)
335333
336334 /**
337335 * Checks CALLBACKS dependencies.
338- * @param array
339336 * @return bool
340337 */
341- public static function checkCallbacks ($ callbacks )
338+ public static function checkCallbacks (array $ callbacks )
342339 {
343340 foreach ($ callbacks as $ callback ) {
344341 if (!call_user_func_array (array_shift ($ callback ), $ callback )) {
@@ -351,8 +348,8 @@ public static function checkCallbacks($callbacks)
351348
352349 /**
353350 * Checks CONSTS dependency.
354- * @param string
355- * @param mixed
351+ * @param string $const
352+ * @param mixed $value
356353 * @return bool
357354 */
358355 private static function checkConst ($ const , $ value )
@@ -363,8 +360,8 @@ private static function checkConst($const, $value)
363360
364361 /**
365362 * Checks FILES dependency.
366- * @param string
367- * @param int|null
363+ * @param string $file
364+ * @param int|null $time
368365 * @return bool
369366 */
370367 private static function checkFile ($ file , $ time )
0 commit comments