diff options
author | provokateurin <kate@provokateurin.de> | 2024-09-06 09:44:04 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-09-09 11:09:37 +0200 |
commit | 007be83a968e6aee649ff8de173163cb5ef93a86 (patch) | |
tree | 18e03c4a5562989bbd6482e9e6a47f3619b71e30 /lib/private/AppFramework/Http/Output.php | |
parent | fc10fa592626d154a91d77d35c93beabdc7605c1 (diff) | |
download | nextcloud-server-fix/oc/inheritdoc.tar.gz nextcloud-server-fix/oc/inheritdoc.zip |
fix(OC): Remove doc blocks for OCP implementationsfix/oc/inheritdoc
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/private/AppFramework/Http/Output.php')
-rw-r--r-- | lib/private/AppFramework/Http/Output.php | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/private/AppFramework/Http/Output.php b/lib/private/AppFramework/Http/Output.php index ff0ef1c15ca..8efb60eb291 100644 --- a/lib/private/AppFramework/Http/Output.php +++ b/lib/private/AppFramework/Http/Output.php @@ -23,18 +23,10 @@ class Output implements IOutput { $this->webRoot = $webRoot; } - /** - * @param string $out - */ public function setOutput($out) { print($out); } - /** - * @param string|resource $path or file handle - * - * @return bool false if an error occurred - */ public function setReadfile($path) { if (is_resource($path)) { $output = fopen('php://output', 'w'); @@ -44,36 +36,18 @@ class Output implements IOutput { } } - /** - * @param string $header - */ public function setHeader($header) { header($header); } - /** - * @param int $code sets the http status code - */ public function setHttpResponseCode($code) { http_response_code($code); } - /** - * @return int returns the current http response code - */ public function getHttpResponseCode() { return http_response_code(); } - /** - * @param string $name - * @param string $value - * @param int $expire - * @param string $path - * @param string $domain - * @param bool $secure - * @param bool $httpOnly - */ public function setCookie($name, $value, $expire, $path, $domain, $secure, $httpOnly, $sameSite = 'Lax') { $path = $this->webRoot ? : '/'; |