Completed
Push — develop ( 578a11...a68e04 )
by Wisoot
02:05
created
src/database/migrations/2014_10_12_200000_create_user_tokens_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public function up()
36 36
     {
37
-        Schema::create($this->table, function (Blueprint $table) {
37
+        Schema::create($this->table, function(Blueprint $table) {
38 38
             $table->increments('id');
39 39
             $table->integer($this->foreignKey)->unsigned();
40 40
             $table->string('token')->index();
Please login to merge, or discard this patch.
src/JwtGuard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
      */
184 184
     protected function hasValidCredentials($user, $credentials)
185 185
     {
186
-        return ! is_null($user) && $this->provider->validateCredentials($user, $credentials);
186
+        return !is_null($user) && $this->provider->validateCredentials($user, $credentials);
187 187
     }
188 188
 
189 189
     /**
Please login to merge, or discard this patch.
src/Providers/JwtGuardServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,8 +66,8 @@
 block discarded – undo
66 66
 
67 67
         $this->app->bind(TokenManagerContract::class, TokenManager::class);
68 68
 
69
-        $this->app->rebinding('request', function ($app, $request) {
70
-            $request->setUserResolver(function ($guard = null) {
69
+        $this->app->rebinding('request', function($app, $request) {
70
+            $request->setUserResolver(function($guard = null) {
71 71
                 return auth()->guard($guard)->user();
72 72
             });
73 73
         });
Please login to merge, or discard this patch.