Passed
Push — master ( 8b7870...baa47a )
by Kelvin
02:13
created
src/ChpterServiceProvider.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,13 +22,13 @@
 block discarded – undo
22 22
         if ($this->app->runningInConsole()) {
23 23
             //publish the config files
24 24
             $this->publishes([
25
-              __DIR__.'/../config/chpter.php' => config_path('chpter.php'),
26
-          ], 'chpter-config');
25
+                __DIR__.'/../config/chpter.php' => config_path('chpter.php'),
26
+            ], 'chpter-config');
27 27
 
28 28
             // Register commands
29 29
             $this->commands([
30 30
             InstallChpter::class,
31
-          ]);
31
+            ]);
32 32
         }
33 33
     }
34 34
 
Please login to merge, or discard this patch.
src/Console/InstallChpter.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
         $this->info('Publishing Configuration...');
17 17
 
18 18
         $this->call('vendor:publish', [
19
-      '--provider' => "KiplingKelvin\ChpterLaravelSdk\ChpterServiceProvider",
20
-      '--tag' => "chpter-config"
19
+        '--provider' => "KiplingKelvin\ChpterLaravelSdk\ChpterServiceProvider",
20
+        '--tag' => "chpter-config"
21 21
     ]);
22 22
 
23 23
         $this->info('Installed Chpter for Laravel');
Please login to merge, or discard this patch.
src/Chpter.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -30,15 +30,15 @@
 block discarded – undo
30 30
     public function __construct()
31 31
     {
32 32
         //Base URL for the API endpoints. This is basically the 'common' part of the API endpoints
33
-         $this->chpter_payment_url = config('chpter.payment_url'); 	
34
-         $this->chpter_hosted_redirect_payment_url = config('chpter.hosted_redirect_payment_url'); 
35
-         $this->chpter_express_redirect_payment_url = config('chpter.express_redirect_payment_url'); 	
33
+            $this->chpter_payment_url = config('chpter.payment_url'); 	
34
+            $this->chpter_hosted_redirect_payment_url = config('chpter.hosted_redirect_payment_url'); 
35
+            $this->chpter_express_redirect_payment_url = config('chpter.express_redirect_payment_url'); 	
36 36
 
37
-         $this->chpter_accounts_token_renewal_url = config('chpter.accounts_token_renewal_url'); 
37
+            $this->chpter_accounts_token_renewal_url = config('chpter.accounts_token_renewal_url'); 
38 38
 
39 39
 
40
-         $this->token = config('chpter.chpter_token'); 
41
-         $this->domain =config('chpter.domain');
40
+            $this->token = config('chpter.chpter_token'); 
41
+            $this->domain =config('chpter.domain');
42 42
     }
43 43
 
44 44
 
Please login to merge, or discard this patch.