| @@ -15,7 +15,7 @@ discard block | ||
| 15 | 15 | */ | 
| 16 | 16 | public function boot() | 
| 17 | 17 |      { | 
| 18 | -        Validator::extend('student_number', function ($attribute, $value, $parameters, $validator) { | |
| 18 | +        Validator::extend('student_number', function($attribute, $value, $parameters, $validator) { | |
| 19 | 19 |              return preg_match('/^(a|pg)[0-9]+$/', $value) === 1; | 
| 20 | 20 | }); | 
| 21 | 21 | } | 
| @@ -25,11 +25,11 @@ discard block | ||
| 25 | 25 | */ | 
| 26 | 26 | public function register() | 
| 27 | 27 |      { | 
| 28 | -        $this->app->singleton(ExchangeRegistry::class, function ($app) { | |
| 28 | +        $this->app->singleton(ExchangeRegistry::class, function($app) { | |
| 29 | 29 | return new EloquentExchangeRegistry(); | 
| 30 | 30 | }); | 
| 31 | 31 | |
| 32 | -        $this->app->singleton('settings', function ($app) { | |
| 32 | +        $this->app->singleton('settings', function($app) { | |
| 33 | 33 | return Settings::firstOrNew([]); | 
| 34 | 34 | }); | 
| 35 | 35 | } | 
| @@ -15,7 +15,7 @@ | ||
| 15 | 15 | */ | 
| 16 | 16 | public function index(ExchangeRegistry $exchangeLogger) | 
| 17 | 17 |      { | 
| 18 | -        $history = DB::transaction(function () use ($exchangeLogger) { | |
| 18 | +        $history = DB::transaction(function() use ($exchangeLogger) { | |
| 19 | 19 | return $exchangeLogger->paginate(); | 
| 20 | 20 | }); | 
| 21 | 21 | |