Completed
Push — develop ( 469aa4...44c5b3 )
by Francisco
03:08
created
app/Providers/AppServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,11 +20,11 @@  discard block
 block discarded – undo
20 20
             URL::forceScheme('https');
21 21
         }
22 22
 
23
-        Auth::macro('student', function () {
23
+        Auth::macro('student', function() {
24 24
             return Auth::check() ? Auth::user()->student : null;
25 25
         });
26 26
 
27
-        Validator::extend('student_number', function ($attribute, $value, $parameters, $validator) {
27
+        Validator::extend('student_number', function($attribute, $value, $parameters, $validator) {
28 28
             return preg_match('/^(a|pg)[0-9]+$/i', $value) === 1;
29 29
         });
30 30
     }
@@ -34,11 +34,11 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public function register()
36 36
     {
37
-        $this->app->singleton(ExchangeRegistry::class, function ($app) {
37
+        $this->app->singleton(ExchangeRegistry::class, function($app) {
38 38
             return new EloquentExchangeRegistry();
39 39
         });
40 40
 
41
-        $this->app->singleton('settings', function ($app) {
41
+        $this->app->singleton('settings', function($app) {
42 42
             return Settings::firstOrNew([]);
43 43
         });
44 44
     }
Please login to merge, or discard this patch.