@@ -111,7 +111,7 @@ |
||
111 | 111 | * @param Response $response |
112 | 112 | * @param array $args |
113 | 113 | * |
114 | - * @return mixed |
|
114 | + * @return \Psr\Http\Message\ResponseInterface |
|
115 | 115 | * @throws JsonException |
116 | 116 | */ |
117 | 117 | public function actionCreate(Request $request, Response $response, $args) |
@@ -68,7 +68,7 @@ |
||
68 | 68 | |
69 | 69 | /** |
70 | 70 | * @param User $user |
71 | - * @param $host |
|
71 | + * @param string $host |
|
72 | 72 | * @param array $settings |
73 | 73 | * |
74 | 74 | * @return string |
@@ -7,10 +7,8 @@ |
||
7 | 7 | use App\Model\User; |
8 | 8 | use App\Model\AccessToken; |
9 | 9 | use App\Model\RefreshToken; |
10 | - |
|
11 | 10 | use Slim\Http\Request; |
12 | 11 | use Slim\Http\Response; |
13 | - |
|
14 | 12 | use App\Common\JsonException; |
15 | 13 | |
16 | 14 | class TokenController extends BaseController |