forked from LiveCarta/PayPal-PHP-SDK
tiny changes
This commit is contained in:
@@ -88,7 +88,7 @@ abstract class AuthorizationCache
|
||||
public static function isEnabled($config)
|
||||
{
|
||||
$value = self::getConfigValue('cache.enabled', $config);
|
||||
return empty($value) ? false : ((trim($value) == true || trim($value) == 'true') ? true : false);
|
||||
return empty($value) ? false : ((trim($value) == true || trim($value) == 'true'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user