Completed
Branch master (d1e5c6)
by Sercan
05:44
created
src/TokenGuard.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     /**
72 72
      * Get the currently token model.
73 73
      *
74
-     * @return \Illuminate\Database\Eloquent\Model|null
74
+     * @return \Illuminate\Contracts\Auth\Authenticatable|null
75 75
      */
76 76
     public function token()
77 77
     {
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     /**
104 104
      * Retrieve the token for the current request.
105 105
      *
106
-     * @return \Illuminate\Database\Eloquent\Model|null
106
+     * @return \Illuminate\Contracts\Auth\Authenticatable|null
107 107
      */
108 108
     protected function retrieveTokenForRequest(array $credentials)
109 109
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Mayoz\Token;
4 4
 
5
-use Illuminate\Http\Request;
6 5
 use Illuminate\Auth\GuardHelpers;
7 6
 use Illuminate\Contracts\Auth\Guard;
8 7
 use Illuminate\Contracts\Auth\UserProvider;
8
+use Illuminate\Http\Request;
9 9
 
10 10
 class TokenGuard implements Guard
11 11
 {
Please login to merge, or discard this patch.
src/TokenServiceProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Mayoz\Token;
4 4
 
5 5
 use Illuminate\Support\Facades\Auth;
6
-use Illuminate\Support\Facades\Request;
7 6
 use Illuminate\Support\ServiceProvider;
8 7
 
9 8
 class TokenServiceProvider extends ServiceProvider
Please login to merge, or discard this patch.