diff --git a/src/Klarna/Rest/Transport/GuzzleConnector.php b/src/Klarna/Rest/Transport/GuzzleConnector.php index 895b0a5..6c04adb 100644 --- a/src/Klarna/Rest/Transport/GuzzleConnector.php +++ b/src/Klarna/Rest/Transport/GuzzleConnector.php @@ -214,7 +214,7 @@ public function createRequest($url, $method = 'GET', array $headers = [], $body * @param string[] $options Request options * * @throws RequestException When an error is encountered - * @throws \LogicException When the adapter does not populate a response + * @throws \RuntimeException When the adapter does not populate a response * * @return ResponseInterface */ @@ -232,7 +232,7 @@ public function send(RequestInterface $request, array $options = []) return $response; } catch (RequestException $e) { throw new \RuntimeException($e->getMessage(), $e->getCode(), $e); - } catch (Throwable $e) { + } catch (\Throwable $e) { throw new \RuntimeException($e->getMessage(), $e->getCode(), $e); } }