@@ -39,13 +39,13 @@ discard block |
||
| 39 | 39 | { |
| 40 | 40 | $this->mergeConfigFrom(__DIR__ . '/../config/wordpress-auth.php', 'wordpress-auth'); |
| 41 | 41 | |
| 42 | - Auth::extend('wordpress', function ($app) { |
|
| 42 | + Auth::extend('wordpress', function($app) { |
|
| 43 | 43 | return new WordpressGuard( |
| 44 | 44 | new EloquentWordpressUserProvider($app['wordpress-auth'], $config['model']) |
| 45 | 45 | ); |
| 46 | 46 | }); |
| 47 | 47 | |
| 48 | - $this->app->singleton('wordpress-auth', function ($app) { |
|
| 48 | + $this->app->singleton('wordpress-auth', function($app) { |
|
| 49 | 49 | $iteration_count = $app['config']->get('wordpress-auth.hash.iteration_count'); |
| 50 | 50 | $portable_hashes = $app['config']->get('wordpress-auth.hash.portable_hashes'); |
| 51 | 51 | |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | return new WordPressHasher($hasher); |
| 55 | 55 | }); |
| 56 | 56 | |
| 57 | - Auth::provider('eloquent.wordpress', function ($app, array $config) { |
|
| 57 | + Auth::provider('eloquent.wordpress', function($app, array $config) { |
|
| 58 | 58 | return new EloquentWordpressUserProvider($app['wordpress-auth'], $config['model']); |
| 59 | 59 | }); |
| 60 | 60 | } |