Skip to content

Commit

Permalink
WS clients: fix options default value
Browse files Browse the repository at this point in the history
  • Loading branch information
wvdhaute committed Aug 24, 2015
1 parent 00717e2 commit c1d9854
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 11 deletions.
6 changes: 5 additions & 1 deletion linkid-sdk-php/LinkIDAttributeClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@ class LinkIDAttributeClient

/**
* Constructor
* @param $linkIDHost
* @param $username
* @param $password
* @param array $options
*/
public function __construct($linkIDHost, $username, $password)
public function __construct($linkIDHost, $username, $password, array $options = array())
{

$wsdlLocation = "https://" . $linkIDHost . "/linkid-ws-username/attrib?wsdl";
Expand Down
2 changes: 1 addition & 1 deletion linkid-sdk-php/LinkIDAuthClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class LinkIDAuthClient
* @param array $options [optional]
*
*/
public function __construct($linkIDHost, $username, $password, array $options = null)
public function __construct($linkIDHost, $username, $password, array $options = array())
{

$wsdlLocation = "https://" . $linkIDHost . "/linkid-ws-username/auth?wsdl";
Expand Down
2 changes: 1 addition & 1 deletion linkid-sdk-php/LinkIDCaptureClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class LinkIDCaptureClient
* @param array $options [optional]
*
*/
public function __construct($linkIDHost, $username, $password, array $options = null)
public function __construct($linkIDHost, $username, $password, array $options = array())
{

$wsdlLocation = "https://" . $linkIDHost . "/linkid-ws-username/capture?wsdl";
Expand Down
2 changes: 1 addition & 1 deletion linkid-sdk-php/LinkIDDataClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class LinkIDDataClient
* @param array $options [optional]
*
*/
public function __construct($linkIDHost, $username, $password, array $options = null)
public function __construct($linkIDHost, $username, $password, array $options = array())
{

$wsdlLocation = "https://" . $linkIDHost . "/linkid-ws-username/data?wsdl";
Expand Down
2 changes: 1 addition & 1 deletion linkid-sdk-php/LinkIDHawsClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class LinkIDHawsClient
* @param array $options [optional]
*
*/
public function __construct($linkIDHost, $username, $password, array $options = null)
public function __construct($linkIDHost, $username, $password, array $options = array())
{

$wsdlLocation = "https://" . $linkIDHost . "/linkid-ws-username/haws?wsdl";
Expand Down
2 changes: 1 addition & 1 deletion linkid-sdk-php/LinkIDIdMappingClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class LinkIDIdMappingClient
* @param array $options [optional]
*
*/
public function __construct($linkIDHost, $username, $password, array $options = null)
public function __construct($linkIDHost, $username, $password, array $options = array())
{

$wsdlLocation = "https://" . $linkIDHost . "/linkid-ws-username/idmapping?wsdl";
Expand Down
2 changes: 1 addition & 1 deletion linkid-sdk-php/LinkIDLTQRClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class LinkIDLTQRClient
* @param array $options [optional]
*
*/
public function __construct($linkIDHost, $username, $password, array $options = null)
public function __construct($linkIDHost, $username, $password, array $options = array())
{

$wsdlLocation = "https://" . $linkIDHost . "/linkid-ws-username/ltqr40?wsdl";
Expand Down
2 changes: 1 addition & 1 deletion linkid-sdk-php/LinkIDMandateClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class LinkIDMandateClient
* @param array $options [optional]
*
*/
public function __construct($linkIDHost, $username, $password, array $options = null)
public function __construct($linkIDHost, $username, $password, array $options = array())
{

$wsdlLocation = "https://" . $linkIDHost . "/linkid-ws-username/mandate20?wsdl";
Expand Down
2 changes: 1 addition & 1 deletion linkid-sdk-php/LinkIDPaymentClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class LinkIDPaymentClient
* @param array $options [optional]
*
*/
public function __construct($linkIDHost, $username, $password, array $options = null)
public function __construct($linkIDHost, $username, $password, array $options = array())
{

$wsdlLocation = "https://" . $linkIDHost . "/linkid-ws-username/payment40?wsdl";
Expand Down
2 changes: 1 addition & 1 deletion linkid-sdk-php/LinkIDReportingClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class LinkIDReportingClient
* @param array $options [optional]
*
*/
public function __construct($linkIDHost, $username, $password, array $options = null)
public function __construct($linkIDHost, $username, $password, array $options = array())
{

$wsdlLocation = "https://" . $linkIDHost . "/linkid-ws-username/reporting30?wsdl";
Expand Down
2 changes: 1 addition & 1 deletion linkid-sdk-php/LinkIDWalletClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class LinkIDWalletClient
* @param $password string the WS-Security password
* @param array $options [optional]
*/
public function __construct($linkIDHost, $username, $password, array $options = null)
public function __construct($linkIDHost, $username, $password, array $options = array())
{

$wsdlLocation = "https://" . $linkIDHost . "/linkid-ws-username/wallet?wsdl";
Expand Down

0 comments on commit c1d9854

Please sign in to comment.