Passed
Push — develop ( 7c7ccb...ccfa35 )
by Francisco
02:39
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(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
     }
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/ExchangeController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.