diff --git a/soapclient/SforceEnterpriseClient.php b/soapclient/SforceEnterpriseClient.php index acc5702..b018efc 100644 --- a/soapclient/SforceEnterpriseClient.php +++ b/soapclient/SforceEnterpriseClient.php @@ -36,7 +36,7 @@ */ class SforceEnterpriseClient extends SforceBaseClient { const ENTERPRISE_NAMESPACE = 'urn:enterprise.soap.sforce.com'; - function SforceEnterpriseClient() { + public function __construct() { $this->namespace = self::ENTERPRISE_NAMESPACE; } /** diff --git a/soapclient/SforcePartnerClient.php b/soapclient/SforcePartnerClient.php index 66bb75a..38c30e8 100644 --- a/soapclient/SforcePartnerClient.php +++ b/soapclient/SforcePartnerClient.php @@ -74,7 +74,7 @@ function __doRequest($request, $location, $action, $version, $one_way=0) { class SforcePartnerClient extends SforceBaseClient { const PARTNER_NAMESPACE = 'urn:partner.soap.sforce.com'; - function SforcePartnerClient() { + public function __construct() { $this->namespace = self::PARTNER_NAMESPACE; } @@ -223,4 +223,4 @@ private function _retrieveResult($response) { return $arr; } -} \ No newline at end of file +}