diff --git a/src/Klarna/XMLRPC/Address.php b/src/Klarna/XMLRPC/Address.php index 01fc424..d76f5f5 100644 --- a/src/Klarna/XMLRPC/Address.php +++ b/src/Klarna/XMLRPC/Address.php @@ -147,7 +147,7 @@ class Address * @param string $houseNo House number, only used in DE and NL. * @param string $houseExt House extension, only used in NL. * - * @throws Exceptions\KlarnaException + * @throws Exception\KlarnaException */ public function __construct( $email = '', @@ -441,7 +441,7 @@ public function getCountry() /** * Returns the country as a two letter representation. * - * @throws Exceptions\KlarnaException + * @throws Exception\KlarnaException * * @return string E.g. 'de', 'dk', ... */ @@ -456,7 +456,7 @@ public function getCountryCode() * * @param int $country {@link Country} * - * @throws Exceptions\KlarnaException + * @throws Exception\KlarnaException */ public function setCountry($country) { diff --git a/src/Klarna/XMLRPC/CurlTransport.php b/src/Klarna/XMLRPC/CurlTransport.php index b2387a3..dfc3f95 100644 --- a/src/Klarna/XMLRPC/CurlTransport.php +++ b/src/Klarna/XMLRPC/CurlTransport.php @@ -55,7 +55,7 @@ public function getTimeout() * * @param object $request The request to send * - * @throws Exceptions\KlarnaException For e.g. a timeout + * @throws Exception\KlarnaException For e.g. a timeout * * @return object A response to the request sent */ @@ -83,7 +83,7 @@ public function send($request) * info is false, then it has no HTTP status code. */ if (strlen($error) > 0) { - throw new Exceptions\KlarnaException( + throw new Exception\KlarnaException( "Connection failed with error: {$error}" ); }