diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2020-09-29 13:54:17 +0200 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2020-09-29 14:56:07 +0200 |
commit | 35b53ecd404a74edea3c6866e451c4819bdc9ea8 (patch) | |
tree | dac46834d8fa7ec0122243f94604c3d2215b4d22 /lib/Controller/JSONHttpErrorTrait.php | |
parent | d6d169be15913404f99b86c39a03bc71942c9f77 (diff) |
OPML export command and fixes
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Controller/JSONHttpErrorTrait.php')
-rw-r--r-- | lib/Controller/JSONHttpErrorTrait.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/JSONHttpErrorTrait.php b/lib/Controller/JSONHttpErrorTrait.php index 785f3f02a..e3e343f16 100644 --- a/lib/Controller/JSONHttpErrorTrait.php +++ b/lib/Controller/JSONHttpErrorTrait.php @@ -20,7 +20,7 @@ trait JSONHttpErrorTrait * @param int $code The http error code * @return JSONResponse */ - public function error(\Exception $exception, $code) + public function error(\Exception $exception, int $code) { return new JSONResponse(['message' => $exception->getMessage()], $code); } |