SoapClient::__soapCall() must be compatible with \SoapClient::__soapCall() fix

This commit is contained in:
Petr Bechyně 2017-02-17 00:26:01 +01:00
parent 68b41acc46
commit e1b50ce914
1 changed files with 3 additions and 3 deletions

View File

@ -88,13 +88,13 @@ class SoapClient extends \SoapClient
* @param array|null $output_headers
* @return string
*/
public function __soapCall($function_name, $arguments, $options = null, $input_headers = null, &$output_headers = null)
public function __soapCall($function_name, array $arguments, array $options = null, $input_headers = null, array &$output_headers = null)
{
return $this->soapCall($function_name, $arguments, $options, $input_headers, $output_headers)->getContent();
}
/**
* @param string $functionName
* @param string $functionName
* @param array $arguments
* @param array|null $options
* @param SoapAttachment[] $soapAttachments
@ -247,7 +247,7 @@ class SoapClient extends \SoapClient
];
} else {
$headers = [
'Content-Type:' . $soapRequest->getContentType() . '; action="' . $soapRequest->getAction() . '"',
'Content-Type:' . $soapRequest->getContentType() . '; action="' . $soapRequest->getAction() . '"',
];
}
$curlResponse = $this->curl->executeCurlWithCachedSession(