summaryrefslogtreecommitdiffstats
path: root/controller/jsonhttperror.php
diff options
context:
space:
mode:
Diffstat (limited to 'controller/jsonhttperror.php')
-rw-r--r--controller/jsonhttperror.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/jsonhttperror.php b/controller/jsonhttperror.php
index 9ac8704c5..a271878a8 100644
--- a/controller/jsonhttperror.php
+++ b/controller/jsonhttperror.php
@@ -20,7 +20,7 @@ trait JSONHttpError {
/**
* @param \Exception $exception the message that is returned taken from the
* exception
- * @param int the http error code
+ * @param int $code the http error code
* @return \OCP\AppFramework\Http\JSONResponse
*/
public function error(\Exception $exception, $code) {