diff options
Diffstat (limited to '')
-rw-r--r-- | vendor/paypal/paypal-checkout-sdk/lib/PayPalCheckoutSdk/Core/PayPalEnvironment.php | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/vendor/paypal/paypal-checkout-sdk/lib/PayPalCheckoutSdk/Core/PayPalEnvironment.php b/vendor/paypal/paypal-checkout-sdk/lib/PayPalCheckoutSdk/Core/PayPalEnvironment.php index 252864b..f9eff1c 100644 --- a/vendor/paypal/paypal-checkout-sdk/lib/PayPalCheckoutSdk/Core/PayPalEnvironment.php +++ b/vendor/paypal/paypal-checkout-sdk/lib/PayPalCheckoutSdk/Core/PayPalEnvironment.php @@ -1,23 +1,23 @@ -<?php - -namespace PayPalCheckoutSdk\Core; - -use PayPalHttp\Environment; - -abstract class PayPalEnvironment implements Environment -{ - private $clientId; - private $clientSecret; - - public function __construct($clientId, $clientSecret) - { - $this->clientId = $clientId; - $this->clientSecret = $clientSecret; - } - - public function authorizationString() - { - return base64_encode($this->clientId . ":" . $this->clientSecret); - } -} - +<?php
+
+namespace PayPalCheckoutSdk\Core;
+
+use PayPalHttp\Environment;
+
+abstract class PayPalEnvironment implements Environment
+{
+ private $clientId;
+ private $clientSecret;
+
+ public function __construct($clientId, $clientSecret)
+ {
+ $this->clientId = $clientId;
+ $this->clientSecret = $clientSecret;
+ }
+
+ public function authorizationString()
+ {
+ return base64_encode($this->clientId . ":" . $this->clientSecret);
+ }
+}
+
|