From 71bd99c0e69aa18ee9757deaebebb593dbb54ab6 Mon Sep 17 00:00:00 2001 From: Moritz Spindelhirn Date: Mon, 29 Apr 2013 19:05:14 +0300 Subject: [PATCH] fixed namespace of PPConfigurationException the PPConfigurationException class is not in the used \PayPal\Auth namespace --- lib/PayPal/Auth/OAuthTokenCredential.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/PayPal/Auth/OAuthTokenCredential.php b/lib/PayPal/Auth/OAuthTokenCredential.php index e5d375d..022c05e 100644 --- a/lib/PayPal/Auth/OAuthTokenCredential.php +++ b/lib/PayPal/Auth/OAuthTokenCredential.php @@ -6,9 +6,9 @@ namespace PayPal\Auth; * Oauth Token credential * */ -use PayPal\Rest\RestHandler; +use PayPal\Rest\RestHandler; -use PayPal\Common\UserAgent; +use PayPal\Common\UserAgent; class OAuthTokenCredential { @@ -124,7 +124,7 @@ class OAuthTokenCredential { throw new \PPConfigurationException('The mode config parameter must be set to either sandbox/live'); } } else { - throw new PPConfigurationException('You must set one of service.endpoint or mode parameters in your configuration'); + throw new \PPConfigurationException('You must set one of service.endpoint or mode parameters in your configuration'); } $baseEndpoint = rtrim(trim($baseEndpoint), '/');