diff options
Diffstat (limited to 'lib/public/appframework/http/ocsresponse.php')
-rw-r--r-- | lib/public/appframework/http/ocsresponse.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/public/appframework/http/ocsresponse.php b/lib/public/appframework/http/ocsresponse.php index 4cc1ba80d03..c098e306656 100644 --- a/lib/public/appframework/http/ocsresponse.php +++ b/lib/public/appframework/http/ocsresponse.php @@ -33,6 +33,7 @@ use OC_OCS; /** * A renderer for OCS responses + * @since 8.1.0 */ class OCSResponse extends Response { @@ -58,6 +59,7 @@ class OCSResponse extends Response { * @param int $dimension * @param int|string $itemscount * @param int|string $itemsperpage + * @since 8.1.0 */ public function __construct($format, $status, $statuscode, $message, $data=[], $tag='', $tagattribute='', @@ -86,7 +88,10 @@ class OCSResponse extends Response { } } - + /** + * @return string + * @since 8.1.0 + */ public function render() { return OC_OCS::generateXml( $this->format, $this->status, $this->statuscode, $this->message, @@ -96,4 +101,4 @@ class OCSResponse extends Response { } -}
\ No newline at end of file +} |