Skip to content

Commit

Permalink
bugfix: We are using namespaces, so SoapClient is not available, we n…
Browse files Browse the repository at this point in the history
…eed to prepend the root namespace: \SoapClient.
  • Loading branch information
jaimeperez committed Dec 14, 2016
1 parent 5e12d7e commit 967edad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SAML2/SOAPClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function send(Message $msg, SimpleSAML_Configuration $srcMetadata, Simple
$options['proxy_port'] = $srcMetadata->getValue('saml.SOAPClient.proxyport');
}

$x = new SoapClient(null, $options);
$x = new \SoapClient(null, $options);

// Add soap-envelopes
$request = $msg->toSignedXML();
Expand Down

0 comments on commit 967edad

Please sign in to comment.