Skip to content

Commit

Permalink
Merge pull request developerforce#3 from Werkspot/replaced_deprecated…
Browse files Browse the repository at this point in the history
…_constructor

Replaced the deprecated constructor with __construct()
  • Loading branch information
MarijnKoesen committed Mar 29, 2016
2 parents 7401f81 + d6f105c commit 4b0ac9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion soapclient/SforceEnterpriseClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
/**
Expand Down
4 changes: 2 additions & 2 deletions soapclient/SforcePartnerClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -223,4 +223,4 @@ private function _retrieveResult($response) {
return $arr;
}

}
}

0 comments on commit 4b0ac9b

Please sign in to comment.