summaryrefslogtreecommitdiffstats
path: root/lib/Controller/JSONHttpError.php
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2020-08-29 23:39:35 +0200
committerBenjamin Brahmer <info@b-brahmer.de>2020-09-27 15:35:31 +0200
commitd00d1ab2a28f428223e52b17052c072c64784016 (patch)
treec019f85fb7ac67147dd43ca64b4ac3cda99832f7 /lib/Controller/JSONHttpError.php
parent5687baca75d47dbdffd3de74e865ad2f71ef0cb7 (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.php7
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)
{