@@ -341,8 +341,7 @@ |
||
| 341 | 341 | if (empty($node)) { |
| 342 | 342 | throw SignerException::tagNotFound($tagname); |
| 343 | 343 | } |
| 344 | - } |
|
| 345 | - else { |
|
| 344 | + } else { |
|
| 346 | 345 | $node = $dom->getElementsByTagName($tagname)->item(0); |
| 347 | 346 | if (empty($node)) { |
| 348 | 347 | throw SignerException::tagNotFound($tagname); |
@@ -82,8 +82,7 @@ |
||
| 82 | 82 | $response = curl_exec($curl); |
| 83 | 83 | |
| 84 | 84 | $httpcode = $this->dispose_curl($curl, $response, $data->urlMethod); |
| 85 | - } |
|
| 86 | - catch (\Exception $e) { |
|
| 85 | + } catch (\Exception $e) { |
|
| 87 | 86 | throw SoapException::unableToLoadCurl($e->getMessage()); |
| 88 | 87 | } |
| 89 | 88 | |