From 46bdf6ea2b1e10c2f4d2fae214ecc81b188fa981 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Fri, 6 May 2016 16:31:40 +0200 Subject: fix PHPDoc and other minor issues --- core/Controller/TokenController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/Controller/TokenController.php') diff --git a/core/Controller/TokenController.php b/core/Controller/TokenController.php index 6f98face144..6606a3c8345 100644 --- a/core/Controller/TokenController.php +++ b/core/Controller/TokenController.php @@ -27,6 +27,7 @@ use OC\Authentication\Token\DefaultTokenProvider; use OC\Authentication\Token\IToken; use OC\User\Manager; use OCP\AppFramework\Controller; +use OCP\AppFramework\Http\JSONResponse; use OCP\AppFramework\Http\Response; use OCP\IRequest; use OCP\Security\ISecureRandom; @@ -66,7 +67,7 @@ class TokenController extends Controller { * @param string $user * @param string $password * @param string $name the name of the client - * @return Response + * @return JSONResponse */ public function generateToken($user, $password, $name = 'unknown client') { if (is_null($user) || is_null($password)) { -- cgit v1.2.3