tiny bugfixes

This commit is contained in:
Petr Bechyně 2016-11-11 16:04:44 +01:00
parent dd7b6904b6
commit 052ab20d67
2 changed files with 2 additions and 2 deletions

View File

@ -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 . '"',

View File

@ -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(),