forked from LiveCarta/PayPal-PHP-SDK
[PSR] Fixed library source
- Using `php-cs-fixer` tool.
This commit is contained in:
@@ -78,9 +78,9 @@ class OauthHandler implements IPayPalHandler
|
||||
{
|
||||
if (isset($config['oauth.EndPoint'])) {
|
||||
$baseEndpoint = $config['oauth.EndPoint'];
|
||||
} else if (isset($config['service.EndPoint'])) {
|
||||
} elseif (isset($config['service.EndPoint'])) {
|
||||
$baseEndpoint = $config['service.EndPoint'];
|
||||
} else if (isset($config['mode'])) {
|
||||
} elseif (isset($config['mode'])) {
|
||||
switch (strtoupper($config['mode'])) {
|
||||
case 'SANDBOX':
|
||||
$baseEndpoint = PayPalConstants::REST_SANDBOX_ENDPOINT;
|
||||
|
||||
Reference in New Issue
Block a user