Completed
Push — master ( 928bbe...840868 )
by Adeola
03:04
created
src/Controllers/EmojiController.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,8 +7,8 @@
 block discarded – undo
7 7
 namespace Demo;
8 8
 
9 9
 
10
-use Exception;
11 10
 use Carbon\Carbon;
11
+use Exception;
12 12
 use Firebase\JWT\JWT;
13 13
 use Illuminate\Database\Capsule\Manager as Capsule;
14 14
 use Psr\Http\Message\ResponseInterface as Response;
Please login to merge, or discard this patch.
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@
 block discarded – undo
30 30
      *
31 31
      * @param Slim\Http\Request  $request
32 32
      * @param Slim\Http\Response $response
33
-     * @param array              $args
34 33
      *
35 34
      * @return Slim\Http\Response
36 35
      */
Please login to merge, or discard this patch.
src/dependencies.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,8 +7,8 @@
 block discarded – undo
7 7
 namespace Demo;
8 8
 
9 9
 
10
-use Demo\AuthMiddleware;
11 10
 use Demo\AuthController;
11
+use Demo\AuthMiddleware;
12 12
 use Demo\EmojiController;
13 13
 
14 14
 // DIC configuration
Please login to merge, or discard this patch.
src/Controllers/AuthController.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,6 @@  discard block
 block discarded – undo
45 45
     /**
46 46
      * Generate a token for user with passed Id.
47 47
      *
48
-     * @param int $userId
49 48
      *
50 49
      * @return string
51 50
      */
@@ -140,7 +139,7 @@  discard block
 block discarded – undo
140 139
     /**
141 140
      * Validate user data are correct.
142 141
      *
143
-     * @param $expectedFields
142
+     * @param string[] $expectedFields
144 143
      * @param $userData
145 144
      *
146 145
      * @return bool
Please login to merge, or discard this patch.