diff --git a/src/BeSimple/SoapClient/SoapClient.php b/src/BeSimple/SoapClient/SoapClient.php index c89eb25..483c8e7 100644 --- a/src/BeSimple/SoapClient/SoapClient.php +++ b/src/BeSimple/SoapClient/SoapClient.php @@ -153,7 +153,7 @@ class SoapClient extends \SoapClient // HTTP headers $soapVersion = $soapRequest->getVersion(); $soapAction = $soapRequest->getAction(); - if (SOAP_1_1 == $soapVersion) { + if (SOAP_1_1 === $soapVersion) { $headers = [ 'Content-Type:' . $soapRequest->getContentType(), 'SOAPAction: "' . $soapAction . '"', diff --git a/src/BeSimple/SoapCommon/SoapOptions/SoapOptions.php b/src/BeSimple/SoapCommon/SoapOptions/SoapOptions.php index f878b96..5b697b2 100644 --- a/src/BeSimple/SoapCommon/SoapOptions/SoapOptions.php +++ b/src/BeSimple/SoapCommon/SoapOptions/SoapOptions.php @@ -130,7 +130,7 @@ class SoapOptions $optionsAsArray = [ 'soap_version' => $this->getSoapVersion(), 'encoding' => $this->getEncoding(), - 'features' => $this->getSoapFeatures(), + 'features' => $this->getSoapFeatures()->getFeaturesSum(), 'wsdl' => $this->getWsdlFile(), 'cache_wsdl' => $this->getWsdlCacheType(), 'classmap' => $this->getClassMap()->getAll(),