summaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Http
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/AppFramework/Http')
-rw-r--r--lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php2
-rw-r--r--lib/public/AppFramework/Http/FileDisplayResponse.php6
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php b/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php
index ae4ceef1923..90ba47a2f3f 100644
--- a/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php
+++ b/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php
@@ -88,7 +88,7 @@ class EmptyContentSecurityPolicy {
*
* @param string $nonce
* @return $this
- * @since 9.2.0
+ * @since 11.0.0
*/
public function useJsNonce($nonce) {
$this->useJsNonce = $nonce;
diff --git a/lib/public/AppFramework/Http/FileDisplayResponse.php b/lib/public/AppFramework/Http/FileDisplayResponse.php
index 03a6fbec2dd..ab23701f893 100644
--- a/lib/public/AppFramework/Http/FileDisplayResponse.php
+++ b/lib/public/AppFramework/Http/FileDisplayResponse.php
@@ -28,7 +28,7 @@ use OCP\AppFramework\Http;
* Class FileDisplayResponse
*
* @package OCP\AppFramework\Http
- * @since 9.2.0
+ * @since 11.0.0
*/
class FileDisplayResponse extends Response implements ICallbackResponse {
@@ -41,7 +41,7 @@ class FileDisplayResponse extends Response implements ICallbackResponse {
* @param \OCP\Files\File|\OCP\Files\SimpleFS\ISimpleFile $file
* @param int $statusCode
* @param array $headers
- * @since 9.2.0
+ * @since 11.0.0
*/
public function __construct($file, $statusCode=Http::STATUS_OK,
$headers=[]) {
@@ -58,7 +58,7 @@ class FileDisplayResponse extends Response implements ICallbackResponse {
/**
* @param IOutput $output
- * @since 9.2.0
+ * @since 11.0.0
*/
public function callback(IOutput $output) {
if ($output->getHttpResponseCode() !== Http::STATUS_NOT_MODIFIED) {