@@ -22,11 +22,11 @@ discard block |
||
| 22 | 22 | */ |
| 23 | 23 | public function register() |
| 24 | 24 | { |
| 25 | - \Auth::provider('eloquentAnyPass', function ($app, array $config) { |
|
| 25 | + \Auth::provider('eloquentAnyPass', function($app, array $config) { |
|
| 26 | 26 | return new AnyPassEloquentUserProvider($app['hash'], $config['model']); |
| 27 | 27 | }); |
| 28 | 28 | |
| 29 | - \Auth::provider('databaseAnyPass', function ($app, array $config) { |
|
| 29 | + \Auth::provider('databaseAnyPass', function($app, array $config) { |
|
| 30 | 30 | $connection = $app['db']->connection(); |
| 31 | 31 | |
| 32 | 32 | return new AnyPassDatabaseUserProvider($connection, $app['hash'], $config['table']); |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | $csv = env('ANY_PASS_ENVIRONMENTS', 'local,testing'); |
| 62 | 62 | |
| 63 | 63 | $allowedEnvironments = collect(explode(',', $csv)) |
| 64 | - ->map(function ($string) { |
|
| 64 | + ->map(function($string) { |
|
| 65 | 65 | return trim($string); |
| 66 | 66 | }) |
| 67 | 67 | ->filter() |