Passed
Push — master ( 2f36ea...5a4708 )
by Darío
45s queued 11s
created
src/Providers/PayPalServiceProvider.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 register()
17 17
     {
18
-        $this->app->bind(PayPalService::class, function () {
18
+        $this->app->bind(PayPalService::class, function() {
19 19
             $paypalService = new PayPalService(Environment::getEndpoint());
20 20
             $paypalService->setAuth(Environment::getClientId(), Environment::getSecret());
21 21
 
Please login to merge, or discard this patch.
src/Helpers/Environment.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -20,27 +20,27 @@  discard block
 block discarded – undo
20 20
 
21 21
     public static function getClientId()
22 22
     {
23
-        return config(self::API_CONF . '.' . self::getCurrentEnvironment() . '.credentials.client_id');
23
+        return config(self::API_CONF.'.'.self::getCurrentEnvironment().'.credentials.client_id');
24 24
     }
25 25
 
26 26
     public static function getSecret()
27 27
     {
28
-        return config(self::API_CONF . '.' . self::getCurrentEnvironment() . '.credentials.secret');
28
+        return config(self::API_CONF.'.'.self::getCurrentEnvironment().'.credentials.secret');
29 29
     }
30 30
 
31 31
     public static function getEndpoint()
32 32
     {
33
-        return config(self::API_CONF . '.' . self::getCurrentEnvironment() . '.endpoint');
33
+        return config(self::API_CONF.'.'.self::getCurrentEnvironment().'.endpoint');
34 34
     }
35 35
 
36 36
     public static function isHandlerEnabled(): bool
37 37
     {
38
-        return config(self::API_CONF . '.handler.enabled');
38
+        return config(self::API_CONF.'.handler.enabled');
39 39
     }
40 40
 
41 41
     public static function getHandler()
42 42
     {
43
-        return config(self::API_CONF . '.handler.class');
43
+        return config(self::API_CONF.'.handler.class');
44 44
     }
45 45
 
46 46
     public static function isCheckoutActivated(): bool
@@ -55,6 +55,6 @@  discard block
 block discarded – undo
55 55
 
56 56
     private static function getCurrentEnvironment()
57 57
     {
58
-        return config(self::API_CONF . '.environment');
58
+        return config(self::API_CONF.'.environment');
59 59
     }
60 60
 }
Please login to merge, or discard this patch.