Completed
Push — develop ( f440bf...422906 )
by Francisco
03:36
created
app/Providers/AppServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
25 25
      */
26 26
     public function register()
27 27
     {
28
-        $this->app->singleton(ExchangeLogger::class, function ($app) {
28
+        $this->app->singleton(ExchangeLogger::class, function($app) {
29 29
             return new EloquentExchangeLogger();
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
     }
Please login to merge, or discard this patch.