diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2022-09-03 15:28:23 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2022-09-03 15:28:23 +0200 |
commit | 855ef21883abf72702f5da3b5c60143a6e95a338 (patch) | |
tree | b592298ff127d8bddfa660a876ae034b31b772cc /lib | |
parent | 532c7545bdc0ba37337d2103a74fce796915539b (diff) | |
download | nextcloud-server-855ef21883abf72702f5da3b5c60143a6e95a338.tar.gz nextcloud-server-855ef21883abf72702f5da3b5c60143a6e95a338.zip |
Update docblock for cacheFor
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/AppFramework/Http/Response.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/public/AppFramework/Http/Response.php b/lib/public/AppFramework/Http/Response.php index 6febef838cf..27dc2ee0332 100644 --- a/lib/public/AppFramework/Http/Response.php +++ b/lib/public/AppFramework/Http/Response.php @@ -105,8 +105,10 @@ class Response { /** * Caches the response - * @param int $cacheSeconds the amount of seconds that should be cached - * if 0 then caching will be disabled + * + * @param int $cacheSeconds amount of seconds the response is fresh, 0 to disable cache. + * @param bool $public + * @param bool $immutable * @return $this * @since 6.0.0 - return value was added in 7.0.0 */ |