From 2a65da7c4dcf21d0092bfae1383daf847fa4fffe Mon Sep 17 00:00:00 2001 From: Amine Date: Tue, 30 Nov 2021 16:25:49 +0100 Subject: [PATCH] use constructor --- soapclient/SforceEnterpriseClient.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/soapclient/SforceEnterpriseClient.php b/soapclient/SforceEnterpriseClient.php index 3aaa976..fe40887 100644 --- a/soapclient/SforceEnterpriseClient.php +++ b/soapclient/SforceEnterpriseClient.php @@ -38,6 +38,10 @@ class SforceEnterpriseClient extends SforceBaseClient { const ENTERPRISE_NAMESPACE = 'urn:enterprise.soap.sforce.com'; + public function __construct() { + $this->namespace = self::ENTERPRISE_NAMESPACE; + } + function SforceEnterpriseClient() { $this->namespace = self::ENTERPRISE_NAMESPACE; }