1
0
mirror of https://github.com/flarum/core.git synced 2025-10-11 06:54:26 +02:00

Applied fixes from StyleCI

This commit is contained in:
Toby Zerner
2016-02-25 22:09:39 -05:00
committed by StyleCI Bot
parent 83c22d73a4
commit a6cf10f854
96 changed files with 240 additions and 245 deletions

View File

@@ -68,9 +68,9 @@ class TokenController implements ControllerInterface
$token = AccessToken::generate($user->id, $lifetime);
$token->save();
return (new JsonResponse([
return new JsonResponse([
'token' => $token->id,
'userId' => $user->id
]));
]);
}
}