]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update docblock for cacheFor
authorDaniel Kesselberg <mail@danielkesselberg.de>
Sat, 3 Sep 2022 13:28:23 +0000 (15:28 +0200)
committerDaniel Kesselberg <mail@danielkesselberg.de>
Sat, 3 Sep 2022 13:28:23 +0000 (15:28 +0200)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
lib/public/AppFramework/Http/Response.php

index 6febef838cf8b0070248506a32296a45adf29b6d..27dc2ee0332b6cfdbd9b295c7f157b5af5d3656e 100644 (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
+        * @param bool $immutable
         * @return $this
         * @since 6.0.0 - return value was added in 7.0.0
         */