@@ -19,11 +19,11 @@ discard block |
||
| 19 | 19 | |
| 20 | 20 | private function loadConfig(): void |
| 21 | 21 | { |
| 22 | - $this->mergeConfigFrom(__DIR__ . '/../config/paypal/testing.php', 'paypal.testing'); |
|
| 22 | + $this->mergeConfigFrom(__DIR__.'/../config/paypal/testing.php', 'paypal.testing'); |
|
| 23 | 23 | |
| 24 | 24 | $this->publishes( |
| 25 | 25 | [ |
| 26 | - __DIR__ . '/../config/paypal' => config_path('paypal'), |
|
| 26 | + __DIR__.'/../config/paypal' => config_path('paypal'), |
|
| 27 | 27 | ], |
| 28 | 28 | 'laravel-paypal' |
| 29 | 29 | ); |
@@ -31,12 +31,12 @@ discard block |
||
| 31 | 31 | |
| 32 | 32 | private function loadViews(): void |
| 33 | 33 | { |
| 34 | - $this->loadViewsFrom(__DIR__ . '/../resources/views', 'laravel-paypal'); |
|
| 34 | + $this->loadViewsFrom(__DIR__.'/../resources/views', 'laravel-paypal'); |
|
| 35 | 35 | |
| 36 | 36 | $this->publishes( |
| 37 | 37 | [ |
| 38 | - __DIR__ . '/../resources/views' => resource_path('views/vendor/laravel-paypal'), |
|
| 39 | - __DIR__ . '/../public/js' => public_path('js/paypal'), |
|
| 38 | + __DIR__.'/../resources/views' => resource_path('views/vendor/laravel-paypal'), |
|
| 39 | + __DIR__.'/../public/js' => public_path('js/paypal'), |
|
| 40 | 40 | ], |
| 41 | 41 | 'laravel-paypal' |
| 42 | 42 | ); |
@@ -20,17 +20,17 @@ discard block |
||
| 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 |
@@ -55,6 +55,6 @@ discard block |
||
| 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 | } |