Completed
Push — master ( 4b3131...06bd63 )
by claudio
02:24
created
src/Providers/JWTAuthServiceProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -251,7 +251,7 @@
 block discarded – undo
251 251
     /**
252 252
      * Get an instantiable configuration instance. Pinched from dingo/api :)
253 253
      *
254
-     * @param  mixed  $instance
254
+     * @param  string  $instance
255 255
      * @return object
256 256
      */
257 257
     protected function getConfigInstance($instance)
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,13 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace Tymon\JWTAuth\Providers;
4 4
 
5
-use Tymon\JWTAuth\JWTAuth;
5
+use Illuminate\Support\ServiceProvider;
6 6
 use Tymon\JWTAuth\Blacklist;
7
-use Tymon\JWTAuth\JWTManager;
8
-use Tymon\JWTAuth\PayloadFactory;
9 7
 use Tymon\JWTAuth\Claims\Factory;
10
-use Illuminate\Support\ServiceProvider;
11 8
 use Tymon\JWTAuth\Commands\JWTGenerateCommand;
9
+use Tymon\JWTAuth\JWTAuth;
10
+use Tymon\JWTAuth\JWTManager;
11
+use Tymon\JWTAuth\PayloadFactory;
12 12
 use Tymon\JWTAuth\Validators\PayloadValidator;
13 13
 
14 14
 class JWTAuthServiceProvider extends ServiceProvider
Please login to merge, or discard this patch.
src/Support/auth/RegistersUsers.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      * Handle a registration request for the application.
37 37
      *
38 38
      * @param  \Illuminate\Http\Request  $request
39
-     * @return \Illuminate\Http\Response
39
+     * @return JsonResponse
40 40
      */
41 41
     public function postRegister(Request $request)
42 42
     {
Please login to merge, or discard this patch.
src/Support/auth/ResetsPasswords.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      * Send a reset link to the given user.
41 41
      *
42 42
      * @param  \Illuminate\Http\Request  $request
43
-     * @return \Illuminate\Http\Response
43
+     * @return JsonResponse
44 44
      */
45 45
     public function postEmail(Request $request)
46 46
     {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      * Reset the given user's password.
93 93
      *
94 94
      * @param  \Illuminate\Http\Request  $request
95
-     * @return \Illuminate\Http\Response
95
+     * @return JsonResponse
96 96
      */
97 97
     public function postReset(Request $request)
98 98
     {
Please login to merge, or discard this patch.
src/Support/auth/ThrottlesLogins.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      * Determine how many retries are left for the user.
65 65
      *
66 66
      * @param  \Illuminate\Http\Request  $request
67
-     * @return int
67
+     * @return double
68 68
      */
69 69
     protected function retriesLeft(Request $request)
70 70
     {
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      * Redirect the user after determining they are locked out.
80 80
      *
81 81
      * @param  \Illuminate\Http\Request  $request
82
-     * @return \Illuminate\Http\RedirectResponse
82
+     * @return JsonResponse
83 83
      */
84 84
     protected function sendLockoutResponse(Request $request)
85 85
     {
Please login to merge, or discard this patch.