tiny bugfixes
This commit is contained in:
parent
dd7b6904b6
commit
052ab20d67
|
@ -153,7 +153,7 @@ class SoapClient extends \SoapClient
|
||||||
// HTTP headers
|
// HTTP headers
|
||||||
$soapVersion = $soapRequest->getVersion();
|
$soapVersion = $soapRequest->getVersion();
|
||||||
$soapAction = $soapRequest->getAction();
|
$soapAction = $soapRequest->getAction();
|
||||||
if (SOAP_1_1 == $soapVersion) {
|
if (SOAP_1_1 === $soapVersion) {
|
||||||
$headers = [
|
$headers = [
|
||||||
'Content-Type:' . $soapRequest->getContentType(),
|
'Content-Type:' . $soapRequest->getContentType(),
|
||||||
'SOAPAction: "' . $soapAction . '"',
|
'SOAPAction: "' . $soapAction . '"',
|
||||||
|
|
|
@ -130,7 +130,7 @@ class SoapOptions
|
||||||
$optionsAsArray = [
|
$optionsAsArray = [
|
||||||
'soap_version' => $this->getSoapVersion(),
|
'soap_version' => $this->getSoapVersion(),
|
||||||
'encoding' => $this->getEncoding(),
|
'encoding' => $this->getEncoding(),
|
||||||
'features' => $this->getSoapFeatures(),
|
'features' => $this->getSoapFeatures()->getFeaturesSum(),
|
||||||
'wsdl' => $this->getWsdlFile(),
|
'wsdl' => $this->getWsdlFile(),
|
||||||
'cache_wsdl' => $this->getWsdlCacheType(),
|
'cache_wsdl' => $this->getWsdlCacheType(),
|
||||||
'classmap' => $this->getClassMap()->getAll(),
|
'classmap' => $this->getClassMap()->getAll(),
|
||||||
|
|
Loading…
Reference in New Issue