diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2020-08-29 23:39:35 +0200 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2020-09-27 15:35:31 +0200 |
commit | d00d1ab2a28f428223e52b17052c072c64784016 (patch) | |
tree | c019f85fb7ac67147dd43ca64b4ac3cda99832f7 /lib/Controller/JSONHttpError.php | |
parent | 5687baca75d47dbdffd3de74e865ad2f71ef0cb7 (diff) |
Create V2 mapper, Service and management commands
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
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) { |