Completed
Push — master ( 54d586...5aa3ec )
by Chris
14s queued 12s
created
src/Commands/GenerateToken.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Yab\FlightDeck\Commands;
4 4
 
5
-use Yab\FlightDeck\FlightDeck;
6 5
 use Illuminate\Console\Command;
6
+use Yab\FlightDeck\FlightDeck;
7 7
 
8 8
 class GenerateToken extends Command
9 9
 {
Please login to merge, or discard this patch.
src/FlightDeck.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * Check if the token is valid
28 28
      *
29
-     * @param string $token
29
+     * @param string $api_token
30 30
      * @return boolean
31 31
      */
32 32
     public static function checkToken(string $api_token = null) : bool
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Yab\FlightDeck;
4 4
 
5
-use Illuminate\Support\Str;
6 5
 use Illuminate\Support\Facades\DB;
6
+use Illuminate\Support\Str;
7 7
 
8 8
 class FlightDeck
9 9
 {
Please login to merge, or discard this patch.
src/Http/Controllers/AuthController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Yab\FlightDeck\Http\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6 5
 use Illuminate\Routing\Controller;
7 6
 use Illuminate\Support\Facades\Auth;
8 7
 use Yab\FlightDeck\Http\Requests\LoginRequest;
Please login to merge, or discard this patch.
src/Http/Controllers/ForgotPasswordController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     /**
39 39
      * Send a reset link to the given user.
40 40
      *
41
-     * @param  Yab\FlightDeck\Http\Requests\ForgotPasswordRequest $request
41
+     * @param  ForgotPasswordRequest $request
42 42
      * @return \Illuminate\Http\JsonResponse
43 43
      */
44 44
     public function sendResetEmail(ForgotPasswordRequest $request)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Yab\FlightDeck\Http\Controllers;
4 4
 
5
+use Illuminate\Http\JsonResponse;
5 6
 use Illuminate\Http\Request;
6 7
 use Illuminate\Http\Response;
7
-use Illuminate\Http\JsonResponse;
8 8
 use Illuminate\Routing\Controller;
9 9
 use Illuminate\Support\Facades\Password;
10 10
 use Yab\FlightDeck\Http\Requests\ForgotPasswordRequest;
Please login to merge, or discard this patch.
src/Http/Controllers/ResetPasswordController.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     /**
38 38
      * Reset the given user's password.
39 39
      *
40
-     * @param  Yab\FlightDeck\Http\Requests\ResetPasswordRequest  $request
40
+     * @param  ResetPasswordRequest  $request
41 41
      * @return \Illuminate\Http\RedirectResponse|\Illuminate\Http\JsonResponse
42 42
      */
43 43
     public function reset(ResetPasswordRequest $request)
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     /**
57 57
      * Get the response for a successful password reset.
58 58
      *
59
-     * @param  Yab\FlightDeck\Http\Requests\ResetPasswordRequest   $request
59
+     * @param  ResetPasswordRequest   $request
60 60
      * @param  string  $response
61 61
      * @return \Illuminate\Http\JsonResponse
62 62
      */
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     /**
72 72
      * Get the response for a failed password reset.
73 73
      *
74
-     * @param  Yab\FlightDeck\Http\Requests\ResetPasswordRequest   $request
74
+     * @param  ResetPasswordRequest   $request
75 75
      * @param  string  $response
76 76
      * @return \Illuminate\Http\JsonResponse
77 77
      */
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,15 +2,15 @@
 block discarded – undo
2 2
 
3 3
 namespace Yab\FlightDeck\Http\Controllers;
4 4
 
5
-use Illuminate\Support\Str;
5
+use Illuminate\Auth\Events\PasswordReset;
6
+use Illuminate\Http\JsonResponse;
6 7
 use Illuminate\Http\Request;
7 8
 use Illuminate\Http\Response;
8
-use Illuminate\Http\JsonResponse;
9 9
 use Illuminate\Routing\Controller;
10 10
 use Illuminate\Support\Facades\Auth;
11 11
 use Illuminate\Support\Facades\Hash;
12 12
 use Illuminate\Support\Facades\Password;
13
-use Illuminate\Auth\Events\PasswordReset;
13
+use Illuminate\Support\Str;
14 14
 use Yab\FlightDeck\Http\Requests\ResetPasswordRequest;
15 15
 
16 16
 class ResetPasswordController extends Controller
Please login to merge, or discard this patch.
src/Http/Middleware/Authorization.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace Yab\FlightDeck\Http\Middleware;
4 4
 
5 5
 use Closure;
6
-use Yab\FlightDeck\FlightDeck;
7 6
 use Illuminate\Auth\Access\AuthorizationException;
7
+use Yab\FlightDeck\FlightDeck;
8 8
 
9 9
 class Authorization
10 10
 {
Please login to merge, or discard this patch.