diff options
Diffstat (limited to 'lib/Controller/JSONHttpError.php')
-rw-r--r-- | lib/Controller/JSONHttpError.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Controller/JSONHttpError.php b/lib/Controller/JSONHttpError.php index 16d80f857..6a66f9c29 100644 --- a/lib/Controller/JSONHttpError.php +++ b/lib/Controller/JSONHttpError.php @@ -18,10 +18,9 @@ trait JSONHttpError /** - * @param \Exception $exception the message that is returned taken from the - * exception - * @param int $code the http error code - * @return \OCP\AppFramework\Http\JSONResponse + * @param \Exception $exception The exception to report + * @param int $code The http error code + * @return JSONResponse */ public function error(\Exception $exception, $code) { |