We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 184c5f3 commit 77729dcCopy full SHA for 77729dc
src/Message/AIMResponse.php
@@ -24,7 +24,7 @@ public function __construct(AbstractRequest $request, $data)
24
$xml = preg_replace('/<createTransactionResponse[^>]+>/', '<createTransactionResponse>', (string)$data);
25
26
try {
27
- $xml = simplexml_load_string($xml);
+ $xml = simplexml_load_string($xml, 'SimpleXMLElement', LIBXML_NOWARNING);
28
} catch (\Exception $e) {
29
throw new InvalidResponseException();
30
}
0 commit comments