Completed
Push — master ( 4f3de5...9b9e7a )
by Pavel
05:51
created
app/src/Controller/TokenController.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      * @param Request  $request
54 54
      * @param Response $response
55 55
      *
56
-     * @return mixed
56
+     * @return \Psr\Http\Message\ResponseInterface
57 57
      * @throws JsonException
58 58
      */
59 59
     public function getToken(Request $request, Response $response)
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      * @param Request  $request
114 114
      * @param Response $response
115 115
      *
116
-     * @return mixed
116
+     * @return \Psr\Http\Message\ResponseInterface
117 117
      * @throws JsonException
118 118
      */
119 119
     public function refreshToken(Request $request, Response $response)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,10 +6,8 @@
 block discarded – undo
6 6
 use App\Model\User;
7 7
 use App\Model\AccessToken;
8 8
 use App\Model\RefreshToken;
9
-
10 9
 use Slim\Http\Request;
11 10
 use Slim\Http\Response;
12
-
13 11
 use App\Common\JsonException;
14 12
 
15 13
 final class TokenController extends BaseController
Please login to merge, or discard this patch.