Skip to content
This repository was archived by the owner on Oct 10, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Klarna/XMLRPC/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '',
Expand Down Expand Up @@ -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', ...
*/
Expand All @@ -456,7 +456,7 @@ public function getCountryCode()
*
* @param int $country {@link Country}
*
* @throws Exceptions\KlarnaException
* @throws Exception\KlarnaException
*/
public function setCountry($country)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Klarna/XMLRPC/CurlTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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}"
);
}
Expand Down