From 3525d790ff34d3671185a0d807a75e8e9b7b46e3 Mon Sep 17 00:00:00 2001 From: winternet-studio Date: Fri, 9 Sep 2016 12:22:04 +0200 Subject: [PATCH] Use __construct instead of class name for constructor Future versions of PHP will not allow use of class name as constructor. --- soapclient/SforcePartnerClient.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/soapclient/SforcePartnerClient.php b/soapclient/SforcePartnerClient.php index 66bb75a..3ffa6f3 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() { + function __construct() { $this->namespace = self::PARTNER_NAMESPACE; } @@ -223,4 +223,4 @@ private function _retrieveResult($response) { return $arr; } -} \ No newline at end of file +}