Passed
Pull Request — master (#51)
by
unknown
11:58
created
src/VoucherGenerator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     protected function getPrefix(): string
86 86
     {
87
-        return $this->prefix !== null ? $this->prefix . $this->separator : '';
87
+        return $this->prefix !== null ? $this->prefix.$this->separator : '';
88 88
     }
89 89
 
90 90
     /**
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      */
93 93
     protected function getSuffix(): string
94 94
     {
95
-        return $this->suffix !== null ? $this->separator . $this->suffix : '';
95
+        return $this->suffix !== null ? $this->separator.$this->suffix : '';
96 96
     }
97 97
 
98 98
 }
Please login to merge, or discard this patch.
src/VouchersServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
             ], 'config');
20 20
 
21 21
 
22
-            if (! class_exists('CreateVouchersTable')) {
22
+            if ( ! class_exists('CreateVouchersTable')) {
23 23
                 $this->publishes([
24 24
                     __DIR__.'/../database/migrations/create_vouchers_table.php.stub' => database_path('migrations/'.date('Y_m_d_His', time()).'_create_vouchers_table.php'),
25 25
                 ], 'migrations');
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     {
39 39
         $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'vouchers');
40 40
 
41
-        $this->app->singleton('vouchers', function ($app) {
41
+        $this->app->singleton('vouchers', function($app) {
42 42
             $generator = new VoucherGenerator(config('vouchers.characters'), config('vouchers.mask'));
43 43
             $generator->setPrefix(config('vouchers.prefix'));
44 44
             $generator->setSuffix(config('vouchers.suffix'));
Please login to merge, or discard this patch.