From d6f2be01ca651c15071d454fa5774d1124646b40 Mon Sep 17 00:00:00 2001 From: burnabitPV Date: Wed, 1 Aug 2012 17:43:16 +0300 Subject: [PATCH] fixed E_STRICT error due to wrong method signature Fixed method signature of SfoceSoapClient->__doRequest in SforcePartnerClient.php to match PHP's native SoapClient method (E_STRICT error) --- soapclient/SforcePartnerClient.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/soapclient/SforcePartnerClient.php b/soapclient/SforcePartnerClient.php index 2399626..66bb75a 100644 --- a/soapclient/SforcePartnerClient.php +++ b/soapclient/SforcePartnerClient.php @@ -42,8 +42,8 @@ // string content into the parsed output and loses the tag name. Removing the // xsi:type forces PHP SOAP to just leave the tags intact class SforceSoapClient extends SoapClient { - function __doRequest($request, $location, $action, $version) { - $response = parent::__doRequest($request, $location, $action, $version); + function __doRequest($request, $location, $action, $version, $one_way=0) { + $response = parent::__doRequest($request, $location, $action, $version, $one_way); // Quick check to only parse the XML here if we think we need to if (strpos($response, '