@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | */ |
18 | 18 | public function boot() |
19 | 19 | { |
20 | - Validator::extend('student_number', function ($attribute, $value, $parameters, $validator) { |
|
20 | + Validator::extend('student_number', function($attribute, $value, $parameters, $validator) { |
|
21 | 21 | return preg_match('/^(a|pg)[0-9]+$/', $value) === 1; |
22 | 22 | }); |
23 | 23 | } |
@@ -29,11 +29,11 @@ discard block |
||
29 | 29 | */ |
30 | 30 | public function register() |
31 | 31 | { |
32 | - $this->app->singleton(ExchangeLogger::class, function ($app) { |
|
32 | + $this->app->singleton(ExchangeLogger::class, function($app) { |
|
33 | 33 | return new EloquentExchangeLogger; |
34 | 34 | }); |
35 | 35 | |
36 | - $this->app->singleton('settings', function ($app) { |
|
36 | + $this->app->singleton('settings', function($app) { |
|
37 | 37 | return Settings::firstOrNew([]); |
38 | 38 | }); |
39 | 39 | } |