Skip to content

Commit

Permalink
removing closures from config
Browse files Browse the repository at this point in the history
  • Loading branch information
tymondesigns committed Feb 17, 2016
1 parent 638807e commit 44e7a7d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,7 @@
|
*/

'auth' => function ($app) {
return new Tymon\JWTAuth\Providers\Auth\IlluminateAuthAdapter($app['auth']);
},
'auth' => 'Tymon\JWTAuth\Providers\Auth\Illuminate',

/*
|--------------------------------------------------------------------------
Expand All @@ -168,9 +166,7 @@
|
*/

'storage' => function ($app) {
return new Tymon\JWTAuth\Providers\Storage\IlluminateCacheAdapter($app['cache']);
},
'storage' => 'Tymon\JWTAuth\Providers\Storage\Illuminate',

],

Expand Down

0 comments on commit 44e7a7d

Please sign in to comment.