@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | { |
24 | 24 | $this->configureRateLimiting(); |
25 | 25 | |
26 | - $this->routes(function () { |
|
26 | + $this->routes(function() { |
|
27 | 27 | $router = $this->app->make(Router::class); |
28 | 28 | |
29 | 29 | $this->mapApiRoutes($router); |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | { |
37 | 37 | parent::register(); |
38 | 38 | |
39 | - $this->app->singleton(ResponseFactoryContract::class, static function (Container $container) { |
|
39 | + $this->app->singleton(ResponseFactoryContract::class, static function(Container $container) { |
|
40 | 40 | return $container->make(ResponseFactory::class); |
41 | 41 | }); |
42 | 42 | } |
@@ -78,15 +78,15 @@ discard block |
||
78 | 78 | /** @var RateLimiter $rateLimiter */ |
79 | 79 | $rateLimiter = $this->app->make(RateLimiter::class); |
80 | 80 | |
81 | - $rateLimiter->for('spa_login_lock', function () { |
|
81 | + $rateLimiter->for('spa_login_lock', function() { |
|
82 | 82 | return new Limit('spa_login_lock', 15, 5); |
83 | 83 | }); |
84 | 84 | |
85 | - $rateLimiter->for('spa_invitation_lock', function () { |
|
85 | + $rateLimiter->for('spa_invitation_lock', function() { |
|
86 | 86 | return new Limit('spa_invitation_lock', 15, 5); |
87 | 87 | }); |
88 | 88 | |
89 | - $rateLimiter->for('spa_password_reset_lock', function () { |
|
89 | + $rateLimiter->for('spa_password_reset_lock', function() { |
|
90 | 90 | return new Limit('spa_password_reset_lock', 15, 5); |
91 | 91 | }); |
92 | 92 | } |