Merge pull request #33889 from nextcloud/debt/noid/docblock-cache-for

Update docblock for cacheFor
This commit is contained in:
Daniel 2022-09-05 17:21:26 +02:00 committed by GitHub
commit 8de2c4213f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -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 whether the page should be cached by public proxy. Usually should be false, unless this is a static resources.
* @param bool $immutable whether browser should treat the resource as immutable and not ask the server for each page load if the resource changed.
* @return $this
* @since 6.0.0 - return value was added in 7.0.0
*/